Question

Difficulty: MediumFlow Types and Triggers

An administrator at a clinical research organization needs to automate updates for a custom object named Clinical_Trial_Participant__c. Whenever a participant record is created or edited, if the Status__c field is changed to 'Screening Failed', the system must automatically populate the Deactivation_Date__c field with the current date and set the Eligible_for_Recheck__c checkbox to False on that same record before it is committed to the database. No external web callouts, email notifications, or updates to related records are required. Which flow trigger configuration should the administrator select to fulfill this requirement with optimal system performance?

  1. A
    Record-Triggered Flow configured for Actions and Related Records (after the record is saved)
  2. Record-Triggered Flow configured for Fast Field Updates (before the record is saved)Answer
  3. C
    Schedule-Triggered Flow configured to run daily across all participant records meeting the filter criteria
  4. D
    Autolaunched Flow with an Update Records element triggered by an active Approval Process initial submission action

Answer

Record-Triggered Flow configured for Fast Field Updates (before the record is saved)
A Record-Triggered Flow optimized for Fast Field Updates runs before the record is saved to the database. This allows the flow to update fields on the triggering record directly in memory ($Record) without performing an explicit Update Records DML element, saving execution time and avoiding unnecessary recursive processing.

Step-by-Step Solution

1
Analyze the automation requirements and target data scope
Identified that the automation only updates fields on the triggering record (Clinical_Trial_Participant__c) without creating or updating related records or executing external actions.
Determining whether updates are confined to the triggering record dictates the optimal record-triggered flow optimization type.
2
Evaluate execution timing for same-record updates
Before-save execution (Fast Field Updates) modifies values in memory before database commit, which is up to 10 times faster and skips redundant database save cycles.
Salesforce best practice recommends Fast Field Updates whenever field modifications only apply to the record that launched the flow.
3
Compare against other flow architectures and triggers
After-save (Actions and Related Records) is inefficient for same-record changes, Schedule-Triggered flows do not provide real-time updates upon record modification, and Approval Processes add redundant complexity.
Eliminating suboptimal options ensures adherence to architectural standards and performance limits.

Key Concept

Selecting Fast Field Updates (before-save) vs. Actions and Related Records (after-save) in Record-Triggered Flows
Estimated Time:1m 15s
Rate this question