An administrator at a logistics company needs to build an automation for a custom object named Freight_Manifest__c. Whenever a manifest record is created or updated, the automation must evaluate manifest weight values and immediately update the Internal_Handling_Tier__c field on the same record before it is saved to the database. Which flow configuration should the administrator select to satisfy this requirement with optimal performance?
- A Record-Triggered Flow configured for Fast Field UpdatesAnswer
- BA Record-Triggered Flow configured for Actions and Related Records
- CA Schedule-Triggered Flow configured to evaluate manifest records on a nightly basis
- DAn Autolaunched Flow that loops through records and executes an Update Records element for each item
Answer
A Record-Triggered Flow configured for Fast Field Updates
Configuring a Record-Triggered Flow for Fast Field Updates (before-save) allows the administrator to update fields on the triggering record before it is committed to the database. This approach avoids extra DML operations, skips subsequent validation and workflow rule re-evaluation cycles, and adheres to Salesforce best practices for optimal execution speed.
Step-by-Step Solution
Key Concept
Record-Triggered Flow Trigger Timing (Fast Field Updates vs. Actions and Related Records)
Estimated Time:1m 0s