What happens when a record is saved?
|Knowledge Article Number||000006765|
Salesforce Order of Execution for what happens when a record is saved.
This is the order of Salesforce execution applies to a record being saved. This is very useful for setting up and figuring out the actual flow of what happens in Salesforce.
This is a simplified version of the save process for a more complete view of the processes you can refer to https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm