- System Validation rule (required field, field format) (SV)
- Before Triggers are executed (BT)
- Custom Validation rules are checked (CV)
- After Triggers are executed (AT)
- Assignment Rules are executed (AR)
- Auto-Response Rules are executed (ARR)
- Workflow Rules are executed (WR)
- Before and after triggers are executed one more time if the workflow rule updates a field (BT & AT)
- Escalation Rules are executed (ER)
- Parent Rollup Summary Formula or Cross Object Formula fields are updated in the respective objects. (RSF, COF) (These parent records also goes through the entire execution order)
- Criteria Based Sharing rules are evaluated (CBS)
- Any Post-Commit Logic is executed (PCL) (like sending an email)
To remember this sequence you can memorise the following.
SV -> BT -> CV -> AT -> AR -> ARR -> WR (BT, AT) -> ER -> RSFCOF -> CBS -> PCL
No comments:
Post a Comment