An administrator is designing an automation solution for a custom object named Commercial_Lease__c. Whenever a commercial lease record is created or edited, two fields on the same record—Calculated_Tier__c and Initial_Deposit_Amount__c—must be populated before the record is committed to the database. The automation does not need to send notifications, access external services, or modify related child records. Which flow trigger configuration should the administrator select to fulfill this requirement with optimal performance?
- AA record-triggered flow configured for Actions and Related Records (after-save)
- A record-triggered flow configured for Fast Field Updates (before-save)Answer
- CA schedule-triggered flow running on an hourly recurrence
- DAn autolaunched flow without a trigger invoked by an Apex after-insert trigger
Answer
A record-triggered flow configured for Fast Field Updates (before-save)
A record-triggered flow configured for Fast Field Updates (before-save) executes prior to the record being saved to the database. This allows field values on the triggering record ($Record) to be set directly in memory without executing an additional Update Records element or extra DML transaction, making it the most performant approach for same-record updates.
Step-by-Step Solution
Key Concept
Fast Field Updates (before-save) in Record-Triggered Flows
Estimated Time:1m 15s