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
Aniket Malvankar 10Aniket Malvankar 10 

In salesforce, i have a workflow rule and approval process on a record , what would be the sequence?

Manish BhatiManish Bhati
Hi Aniket,

The Workflow rule executes before the Process.

Please see the Order of Execution in Salesforce:-
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm 

See point No.10 and 13.

Hope this helps.
Mitesh Sharma 8Mitesh Sharma 8
When Workflow rule gets executed thats done by the workflow engine where as approval process is actioned by SF server thread so the order is Workflow rule followed by process.