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
sudhakar reddy 13sudhakar reddy 13 

Difference between a workflow rule and approval process

Ajay K DubediAjay K Dubedi
Hi Sudhakar,

Workflow:-
Work flow triggers when an DML events like Insert,Upadte Occurs.We can't fire workflows after record has been deleted.
Workflow actions are Field Update,Email alert,Task alert and outbound message.So when ever workflow fires that action takes place.
 
Approval Process:-
Suppose you can think like this, in an Software company there ia an HR team,when ever they opens a postion ,that position has to approved by HR team.if Hr team approved that position then that position is approved and they start open recuritment. if they rejected  position then they doesnot open recuritment for that position when ever an record submitted to Approval process,the record is going into locking state.if it is approved then it is in locking state forever.if it is rejected then that records comes in to unlocking state.
In approval process we can trigger work flow when initial sumission,aproval action,rejection action,final rejection.

Thanks.