An administrator is reviewing the sequence of operations that occur when a record is saved in Salesforce. Place the following automation events and validation checks in the correct order of execution from earliest (first) to latest (last).
- 1Before-Save Record-Triggered Flows
- 2Custom Validation Rules
- 3Apex After Triggers
- 4Workflow Rules
Cevap
The correct order of execution from first to last is: Before-Save Record-Triggered Flows, followed by Custom Validation Rules, then Apex After Triggers, and finally Workflow Rules.
In the Salesforce order of execution, before-save record-triggered flows run before custom validation rules. Once validation passes and the record is saved to the database, Apex after triggers execute. Workflow rules run later in the sequence, after Apex after triggers and assignment rules complete.
Adım Adım Çözüm
Anahtar Kavram
Salesforce Record Save Order of Execution