Skip to main content
Nintex Community Menu Bar

Hi,

 

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

 

Query

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

 

Background

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?

21184iCE77F445D0B7424F.png

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?

 

Thanks!

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.


I've seen this in the past when sub workflow error state messages have not been removed from the log, even though they've been successfully repaired and completed.



 



It is possible to remove these from the Server.ErrorLog table, but all those caveats apply about doing this yourself, if in any doubt raise a call with support.



 



Cheers



 



 


Reply