Whats the Difference btw End WF and Terminate WF

  • 5 September 2016
  • 3 replies
  • 8 views

Badge +9

Not quite sure I understand the difference between terminating a WF and Ending a Workflow.  If I use a set condition and if it is "NO" for the result I want the workflow to end I assume ?  However, I don't understand the distinction.


3 replies

Badge +3

End workflow: Ends the workflow it appears in. (current)
Terminate workflow: Ends other workflows on current item.

Badge +9

Hi Frederick...can you give me an example of when you would want to Terminate a workflow...thx

Badge +3

Terminate:
If you have a master workflow that has started some other sub workflows on the same item, and you reach a condition where all or some of the sub workflows needs to be terminated. Or when you need to restart the whole process from beginning again.

End:
This I mostly use for error handling. During workflows that run for an extended period of time, error will happen. During the workflow I check if the required data is present, else I send an alert email en ends the workflow I a controlled manner.

Typical errors:
Approvers left the company.
Lookup in config list returns nothing.

Reply