Skip to main content
Nintex Community Menu Bar

Can I end a Workflow from a WF

  • Jun 30, 2017 2:18 AM UTC
  • 2 replies
  • 12 views
  • Translate All

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
  • Jun 30, 2017 5:15 AM UTC

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?

Translate

rhia
Nintex Partner
Forum|alt.badge.img+15
  • Nintex Partner
  • Jun 30, 2017 5:18 AM UTC

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"

Translate