A Salesforce administrator needs to automatically calculate and set a custom field value on a Lead record when the Lead is created or updated. The requirement specifies updating fields strictly on the triggering record itself with optimal performance before the data is committed to the database. Which automation tool and configuration should the administrator select?
- Record-Triggered Flow optimized for Fast Field Updates (Before-Save)Answer
- BRecord-Triggered Flow optimized for Actions and Related Records (After-Save)
- CRoll-Up Summary Field configured on a related Lookup relationship
- DApproval Process utilizing an initial submission action
Answer
The administrator should select a Record-Triggered Flow optimized for Fast Field Updates (Before-Save).
Record-Triggered Flows configured for Fast Field Updates execute before the record is saved to the database. This allows field values on the triggering record to be updated in memory before the SQL save operation, making it the most efficient and recommended approach.
Step-by-Step Solution
Key Concept
Selecting Fast Field Updates (Before-Save Record-Triggered Flow) for same-record updates