Order of Execution in Salesforce

When it comes to the order of execution, many seasoned Salesforce Developers will also get confused. After completing the plural sight video created by Daniel Stange and Don Robins(PluralsightCourseLink), I thought worth sharing the below 2 diagrams which explain the order of execution.

Apex Transaction + DataBase Transaction [If there is any apex logic, example: triggers/batch apex then only it is treated as apex transaction.]

Max no.of times execution happens if DML occurs through apex + Workflow+ Process builder:
tHiNk gooD and dO thE bEsT.........MANJU NATH 🌝

Comments