We are in WorkFlows , If we want to raise an error and terminate the WF we can use Stop step, while End is used for gracefull end and exit of the workflow.
Y and Where we used End Step and Stop Step?
End Step is used to mark the end of workflow.
Stop steps are used to raise an error to User and terminate workflow process.
End step is mendatory in every wf design
We cant have wf design without End step in workflow, its compulsory
It is not necessary to have Stop step in workflow
End step no input arguments.
Stop set no output arguments.
How it effects Workflow Status :
End step sets the status of workflow as “Completed”
Stop step sets the status of workflow as “In Error”