
Table of Contents
What is transaction security in Salesforce?
Transaction Security is a feature that monitors Salesforce events in real time to spot potential trouble based on rules you create. With Transaction Security, you can create policies that consist of events, notifications, and actions. An event is anything that happens in Salesforce, including user clicks, record state changes, and measuring values.
What is apex transaction in Salesforce?
Apex Transactions. An Apex transaction represents a set of operations that are executed as a single unit. All DML operations in a transaction either complete successfully, or if an error occurs in one operation, the entire transaction is rolled back and no data is committed to the database.
What are transaction boundaries in Salesforce apex?
The boundary of a transaction can be a trigger, a class method, an anonymous block of code, a Visualforce page, or a custom Web service method. Because Apex runs in a multitenant environment, the Apex runtime engine strictly enforces limits so that runaway Apex code or processes don’t monopolize shared resources.
Why is it important to export data from Salesforce reports?
Your Salesforce employees need to view reports and export data. For security purposes, you want to ensure they’re not exporting large amounts of data from reports. This helps minimize the risk of leaking sensitive, competitive, or proprietary data.

What are transactions in Apex?
An Apex transaction represents a set of operations that are executed as a single unit. All DML operations in a transaction either complete successfully, or if an error occurs in one operation, the entire transaction is rolled back and no data is committed to the database.
What is a flow transaction Salesforce?
Each flow interview runs in the context of a transaction . A transaction represents a set of operations that are executed as a single unit. For example, a transaction can execute Apex triggers and escalation rules in addition to a flow interview.
What is transaction of governor limits in Salesforce?
Per-Transaction Apex LimitsDescriptionSynchronous LimitAsynchronous LimitTotal number of sendEmail methods allowed10Total heap size 46 MB12 MBMaximum CPU time on the Salesforce servers 510,000 milliseconds60,000 millisecondsMaximum execution time for each Apex transaction10 minutes15 more rows
What is a flow transaction?
In the simplest of terms, a transaction flow is the journey a payment takes from start to approval to settlement. Any time a person buys something using a credit card, it follows a stream or transaction flow, passing through many players before the payment is settled.
How many types of flows are there in Salesforce?
Salesforce Flow provides two types of flows: screen flows and autolaunched flows. To automate a business process that collects data from people, use a screen flow.
Why we use flows in Salesforce?
In Salesforce, a flow is an application that automates complex business processes. Simply put, it collects data and then does something with that data. Flow Builder is the declarative interface used to build individual flows. Flow Builder can be used to build code-like logic without using a programming language.
What is trigger in Salesforce?
Apex triggers enable you to perform custom actions before or after changes to Salesforce records, such as insertions, updates, or deletions. A trigger is Apex code that executes before or after the following types of operations: insert. update. delete.
What is SOSL and SOQL in Salesforce?
A SOQL query is the equivalent of a SELECT SQL statement and searches the org database. SOSL is a programmatic way of performing a text-based search against the search index. Whether you use SOQL or SOSL depends on whether you know which objects or fields you want to search, plus other considerations.
What is Apex in Salesforce?
Apex enables developers to access the Salesforce platform back-end database and client-server interfaces to create third-party SaaS applications. Apex includes an application programming interface (API) that Salesforce developers can use to access user data on the platform.
What is the order of execution in Salesforce?
What is Order of Execution in Salesforce? A set of rules that describe the path a record takes through all automations and the events that happen from SAVE to COMMIT. Before Salesforce executes these events on the server, the browser runs JavaScript validation if the record contains any dependent picklist fields.
What is IIB transaction?
A transaction can be defined as set of activities that are executed as a Single Unit Of Work. Means, if any one of the actions got failed, all the actions which are already performed will be rolled back.
What is meant by transaction flow testing?
Transaction flows are introduced as a representation of a system’s processing. The methods that were applied to control flow graphs are then used for functional testing. Transaction flows and transaction flow testing are to the independent system tester what control flows are path testing are to the programmer.
How are Apex requests delimited?
All requests are delimited by the trigger, class method, Web Service, Visualforce page or anonymous block that executes the Apex code. If the entire request completes successfully, all changes are committed to the database. For example, suppose a Visualforce page called an Apex controller, which in turn called an additional Apex class. Only when all the Apex code has finished running and the Visualforce page has finished running, are the changes committed to the database. If the request does not complete successfully, all database changes are rolled back.
Can savepoints be used across trigger contexts?
References to savepoints cannot cross trigger invocations because each trigger invocation is a new trigger context. If you declare a savepoint as a static variable then try to use it across trigger contexts, you will receive a run-time error. Each savepoint you set counts against the governor limit for DML statements.
Unveiling the Next Wave of Salesforce Analytics Cloud
Salesforce has successfully reformed its Wave Analytics Cloud. Wave Analytics as an evolving product is experiencing whole new features and is coming up with intuitive…
Demystifying Salesforce Blockchain
Salesforce is always a company that is looking ahead to the next big in technology, whether it is mobile, social, IoT or Artificial Intelligence. The…
Implementing Salesforce Path in Lightning
Salesforce developers use Salesforce Path as a successful visualization tool that helps users as a guide along any particular path to reach a final goal.…
Salesforce lightning customize record page: Build a Custom Record Page
Salesforce Lightning Experience comes with a slick user interface that is easy to navigate and even easier to use right from the beginning. Lightning is…
Login Flow In Salesforce
You can use a login flow to customize the login experience and integrate business processes with Salesforce authentication. Common use cases include collecting and updating…
Salesforce Lightning: Custom Theming and Branding
As part of myLightning, Custom Theming and Branding for Lightning Experience lets you customize key styling elements, such as the global header color, brand image,…
What is transaction security?
Be careful—Transaction Security is a powerful feature. An incorrect Login Event policy that uses Block as its real-time action locks you out of your org. To prevent this from happening in an org you care about, create a new Trailhead Playground for this module.
What is an event in Salesforce?
An event is anything that happens in Salesforce, including user clicks, record state changes, and measuring values. Events are immutable and timestamped. When you create a Transaction Security policy, you first pick a transaction, or event, to watch for and then you choose actions that are triggered when the event occurs.
Can you use Condition Builder to block exports?
You can use Condition Builder to use clicks to easily create a policy that automatically blocks report exports when there is a large volume of records included in the report. Alternatively, you can implement more complex use cases with an Apex class, which is a self-contained unit of code.
What is transactional message?
Transactional messages are sent in response to a user’s interaction with your website or business or service. Examples include shipping notifications, account alerts, and identity validation. These messages are often critical in nature, but that’s not to say you can’t promote your brand in a transactional message!
How are transactional messages triggered?
A transactional message can be triggered in two ways: by a person or by a system. Messages triggered by a person are non-promotional messages that confirm the completion of a process, with the expectation of immediate delivery. Examples include:
