function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC ROCKSFDC ROCK 

What will be execution priority of below in salesforce?

What will be execution
priority of below in salesforce :

1.after update workflow  
2.procees builder  
3.aproval procees
4.workflow
NagendraNagendra (Salesforce Developers) 
Hi Subodh,

May I suggest you please refer to below links which has some useful information. Please let us know if this helps.

Thanks,
Nagendra
Deepali KulshresthaDeepali Kulshrestha
Hi Subodh,

Please follow the below steps and links with the help of these steps and link you can solve your problem, it may be helpful to you.

Order of Execution in Salesforce:
1.Loads the original record from DB.
2.Loads the new record field values and overwrite the old values.
3.If you are using Standard UI, system validation rules will be execute.
4.Executes all before triggers.
5.Executes all user defined validation rules.
6.Saves the record to the database, but does not commit yet.
7.Executes all After trigger.
8.Executes Assignment Rules.
9.Executes Auto-Response Rules.
10.Executes Workflow Rules.
11.If there are any workflow updates, update the record again.
12.If the record was updated with workflow field updates, fires before update triggers and after 13.update triggers one more time, in addition to standard validations. Custom validation rules and duplicate rules are not run again.
14.Executes Processes.
15.Executes Escalation Rules.
16.Executes Entitlement Rules.

Link: http://www.x2od.com/2008/11/09/salesforce-order-of-execution.html
Link: https://www.biswajeetsamal.com/blog/order-of-execution-in-salesforce/


I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha
SFDC ROCKSFDC ROCK
@Deepali Kulshrestha and @
Nagendra
I am not able to find from above list.can you please write the order of execution what I have given?

Thanks,
Subodh