An organization tracks hardware assets returned by departing employees using a custom object named Equipment Return. When an Equipment Return record is updated to a status of 'Inspected', a custom field named Inspection Timestamp on the same Equipment Return record must be populated with the current date and time. To maximize system performance and follow Salesforce automation architectural best practices, which solution should the administrator configure?
- A Record-Triggered Flow configured to run before the record is saved (Fast Field Updates)Cevap
- BA Record-Triggered Flow configured to run after the record is saved (Actions and Related Records)
- CA Roll-Up Summary field defined on the associated Account lookup field to calculate the timestamp
- DAn Approval Process that executes a field update action inside a loop element upon status change
Cevap
Configure a Record-Triggered Flow executing before the record is saved (Fast Field Updates).
Configuring a Record-Triggered Flow to run before the record is saved (Fast Field Updates) is the recommended best practice for updating fields on the record that initiated the flow. Because the update occurs before the record is saved to the database, it eliminates the need for explicit DML update operations and prevents triggering secondary execution loops.
Adım Adım Çözüm
Anahtar Kavram
Same-Record Updates via Fast Field (Before-Save) Flows