Stopping an Instance using the "Process Instance Info" SmartObject



I have a query related to the Process Instance Info SmartObject, which can be found under the following folder: Categories > System > Management > Workflows > SmartObjects



Does anyone know what user/permissions are required to execute the Remove method on the Process Instance Info SmartObject?



I created a Sub Workflow which is primarily responsible for removing a running workflow instance (based on a provided Process Instance ID). The Sub Workflow is started via a button on a Form (by an end-user).


The Sub Workflow works fine on a development environment. The relevant workflow instance is removed etc.


In Production however, we have some errors against instances of the Sub Workflow stating that our K2 service account does not have Administrator rights?


Bizarrely, even though the Sub Workflow is in an errored state, I can see that it did in fact remove the specified workflow instance?!


Clicking View Flow on the errored Sub Workflow Instance highlights the activity in red, but it appears that it has done it?



Gain anyone shed any light on this?



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

Re: Stopping an Instance using the "Process Instance Info" SmartObject

Hi ConradMc,


Any system SmartObjects will likely need Admin right level. I would start by giving your account and K2 Service account Admin server right in the Management site.

0 Kudos