Salesforce Order of Execution
Salesforce executes a sequence of events in a specific order when saving a record with an insert, update, or upsert statement. Prior to this, the browser performs JavaScript validation for dependent picklist fields, restricting them to their available values. No other client-side validation takes place.
To see the diagram of the order of execution, visit the Order of Execution Overview on the Salesforce Architects site. Please note that the diagram may differ from the information given here as it is specific to the indicated API version. The Apex Developer Guide page provides the latest information on the order of execution for this API version. Access different API versions through the version picker in the Apex Developer Guide.

Comments
Post a Comment