cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

Cancel a workflow using parallel action?

Jump to solution

I would like the ability for a user to update a field on a form and have the running workflow identify that the field was changed and then cancel/terminate the workflow.  Is this possible?  I was thinking I could start with a parallel action, one side would be the actual workflow, the other branch would have a look that periodically checks the field to see if it has changed.  Then, if it does change, it would proceed with canceling the workflow.  I've tried to set this up by putting a loop in the cancel branch that checks the field every 5 minutes, but it doesn't seem to work.  It's very possible that I may be setting up my loop action incorrectly.  Is there a better method to do this, or is there a way to set up my loop action that would allow me to do this?

 

Thank you in advance.

Labels: (2)
0 Kudos
Reply
1 Reply
Nintex Employee
Nintex Employee

Re: Cancel a workflow using parallel action?

Jump to solution

Hi Greg,

 

is this in an on-prem or O365 workflow?

 

If it's an on-prem workflow, you should be able to do this as long as you put an End Workflow action in that loop action, inside the condition action.

The alternative way, is to use a Call Web Service action to call the Nintex Workflow web service, specifically, the TerminateWorkflow web method.

 

cheers,

Vadim

0 Kudos
Reply