Skip to main content
Nintex Community Menu Bar

Hi,

 

Is there any way to Stop perticular workflow instances using SMO.

 

My requirement is user will mark respective project as on hold in application, based on that i want to stop respective process instances.

Note- I have service instance id with me and i dont want user go to managment site and perform it manually.   

Hello,

The Process Instance Info SmartObject has a Stop method you could use. It only requires the Process Instance ID as an input.

You may find this SmartObject in System > Management > Workflows > SmartObjects


 


Hope this helps!


 


 


I wanted to use this method, but it is a bit clumsy in that the workflow instance remains in the "Stopped" state and tasks that may have been created in the workflow are not deleted. Therefore, I returned to the original method - terminating the workflow using the "GoTo" method in the "Activity" (described here: https://community.nintex.com/k2-blackpearl-13/terminate-a-k2-workflow-14642)


Reply