Below is the Link to the Order of Execution. https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm (https://)
Hope it Helps you. Please mark this as solved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.
Hi Ramesh, first trigger will execute then workflow rules will fire.
you can find the execution order below: 1) Fetch the data 2) System validation 3) Execute before triggers 4) System and custom validations 5) Save the data 6) After triggers 7) Assignment rules 8) Auto-response rules 9) workflow rules 10) workflow field update - if record is updated then before update triggers and after update triggers are called 11) escalation rules 12) entitlement rules 13) Rollup summary field 14) criteria based sharing rules 15) commit 16) send email
Please let me know in case of any other assistance.
The workflow will Execute first.
Below is the Link to the Order of Execution.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm (https://)
Hope it Helps you. Please mark this as solved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.
Regards ,
Suraj
first trigger will execute then workflow rules will fire.
you can find the execution order below:
1) Fetch the data
2) System validation
3) Execute before triggers
4) System and custom validations
5) Save the data
6) After triggers
7) Assignment rules
8) Auto-response rules
9) workflow rules
10) workflow field update - if record is updated then before update triggers and after update triggers are called
11) escalation rules
12) entitlement rules
13) Rollup summary field
14) criteria based sharing rules
15) commit
16) send email
Please let me know in case of any other assistance.
Thanks
Varaprasad