Skip to main content
Nintex Community Menu Bar

Can I end a Workflow from a WF

  • June 30, 2017
  • 2 replies
  • 8 views

Forum|alt.badge.img+9

If I have a WF that request approval most of the time the user will respond from within the email and click on Approve or decline.  Occasionally though people will bypass the email and approve the item from within the item page.  When this happens then my WF never ends and I have an Orphan WF sad.png

How can I terminate or end this WF ?

Note within my WF I have

"Request Approval"  - Sends email requesting aaproval

"Set Approval Status"  - If someone selects Approve/Decline I use the "Set Approval Status" to update the SharePoint Approval status.

2 replies

rhia
Nintex Partner
Forum|alt.badge.img+15
  • Nintex Partner
  • June 30, 2017

Hi there!

I suppose you could create a workflow that triggers if the approval status changes, and have it use the action "Terminate Workflow" and choose whichever workflow the approval one would have been, and then update the approval status. Would that work for you?


rhia
Nintex Partner
Forum|alt.badge.img+15
  • Nintex Partner
  • June 30, 2017

You could also have your approval run in a parallel branch as a "wait until..."  Approve / Decline changes, update the approval status, and "End Workflow"