An administrator at a solar energy company needs to automate field updates on a custom object named Solar_Installation__c. Whenever a Solar_Installation__c record is created or edited, the system must evaluate installation parameters and automatically calculate and set the Target_Inspection_Date__c and Priority_Tier__c fields directly on the triggering record before it is committed to the database. No external callouts, Chatter posts, or related record updates are required. Which flow configuration should the administrator select to fulfill this requirement with optimal performance?
- A Record-Triggered Flow configured for Fast Field Updates (Before-Save)Answer
- BA Record-Triggered Flow configured for Actions and Related Records (After-Save)
- CA Schedule-Triggered Flow running nightly with a batch loop to update modified records
- DAn Autolaunched Flow invoked by an Apex trigger executing on the after-update event
Answer
A Record-Triggered Flow configured for Fast Field Updates (Before-Save)
A Record-Triggered Flow configured for Fast Field Updates (before-save) is specifically designed to update fields on the triggering record before the record is saved to the database. This eliminates the need for an Update Records element, avoids extra DML operations, and provides superior performance.
Step-by-Step Solution
Key Concept
Fast Field Updates (Before-Save) vs. Actions and Related Records (After-Save) Record-Triggered Flows
Estimated Time:1m 15s