CSA Process Automation 3 — Questions and Answers
Question 1: Which element in a Flow allows you to iterate over a collection of records one at a time?
- Decision
- Loop (Correct answer)
- Assignment
- Get Records
Correct answer: Loop
The Loop element iterates through a collection variable, processing each item individually within the Flow.
Question 2: A Validation Rule uses the ISPICKVAL function. What does this function check?
- Whether a picklist field is empty
- Whether a picklist field equals a specific value (Correct answer)
- Whether a text field contains a specific word
- Whether a number is within a range
Correct answer: Whether a picklist field equals a specific value
ISPICKVAL checks whether a picklist field's value equals a specified string value, returning TRUE or FALSE.
Question 3: When configuring a Flow to send an outbound message to an external system, which element should you use?
- Send Email Action
- HTTP Callout Action
- Create Records
- Apex Action (Correct answer)
Correct answer: Apex Action
An Apex Action in Flow invokes an Apex class, which can be written to make HTTP callouts to external systems when native callout actions are insufficient.
Question 4: What happens to pending scheduled actions in a Workflow Rule if the record is updated and no longer meets the rule criteria?
- Scheduled actions execute regardless of subsequent changes
- Scheduled actions are cancelled if the record no longer meets the criteria (Correct answer)
- Scheduled actions are paused until the record meets criteria again
- Scheduled actions are converted to immediate actions
Correct answer: Scheduled actions are cancelled if the record no longer meets the criteria
If 'Evaluate the rule when a record is created, and any time it's edited to subsequently meet criteria' is set, pending scheduled actions are cancelled when the record no longer qualifies.
Question 5: Which of the following is a valid use case for an Autolaunched Flow (No UI)?
- Displaying a wizard to a user to collect information
- Being called by a Process Builder or invoked via Apex (Correct answer)
- Guiding users through a multi-step screen experience
- Showing users confirmation messages after form submission
Correct answer: Being called by a Process Builder or invoked via Apex
Autolaunched Flows have no user interface and are designed to be triggered by other automation tools like Process Builder, Apex, or other Flows.
Question 6: A Flow has a fault path configured on a Create Records element. When will the fault path execute?
- When the record already exists
- When an unhandled error occurs during the DML operation (Correct answer)
- When the user cancels the screen
- When a validation rule prevents saving
Correct answer: When an unhandled error occurs during the DML operation
Fault paths in Flow execute when an unhandled exception occurs in an element, such as a DML failure, allowing graceful error handling.
Question 7: In Salesforce, which automation tool runs BEFORE a record is saved to the database and can prevent saving by throwing a custom error?
- After-Save Flow
- Workflow Rule
- Validation Rule (Correct answer)
- Process Builder
Correct answer: Validation Rule
Validation Rules are evaluated before saving a record and can block the save operation by displaying a custom error message when conditions are met.
Which element in a Flow allows you to iterate over a collection of records one at a time?