Studying for the Salesforce Platform Developer I certification
A developer is writing a complex application involving triggers, workflow rules, Apex classes, and processes. The developer needs to carefully consider the order of execution when developing the application.
In what order do the following operations execute?
1. Before Triggers
2. After Triggers
3. Post commit logic such as sending email
4. DML committed to the database
5. Workflow Rules
6. Roll-up summary calculations
Discussion: The key to this question is the order. Remember that rollups go after Workflows. Also remember that Triggers go first. Good luck on your Salesforce Platform Developer 1 certification.