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
mnz123mnz123 

Difference between workflow and approval process ?

I mean,I know what is a workflow and an approval process. But how do I compare them? Please guide. Thanks!
SFDC_DevloperSFDC_Devloper
Hi,

Workflow:
  1. They are activated when a record is saved.
  2. Workflow consists of single step and single action.
  3. Workflows can be modified or deleted.
Approval process:
  1. approval process are triggered by explicitly clicking the "Submit for Approval" button.
  2. Approval process consists of multiple steps. Also different action is taken based upon whether the record is approved or rejected.
  3. In approvals some attributes cannot be modified. Processes must be deactivated before approvals can be deleted.

hope this link help you:https://developer.salesforce.com/forums/ForumsMain?id=906F00000008o7kIAA



Thanks,
Rockzz

praveen murugesanpraveen murugesan
Hi ,


Workflow:-Work flow triggers when an DML events like Insert,Upadte Occurs.we canot fire workflows after record has been deleted.

        Workflow actions are     Field Update,Email alert,Task alert and outbound message........ so u can any of action for workflow.so when ever work flow fires that action takes place.

Approval Process:-
suppose u 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.................

Pls refer this link https://developer.salesforce.com/forums/ForumsMain?id=906F00000008o7kIAA


Mark this as solution if you got a answer.

Thanks,

Praveen Murugesan.