Skip to main content
Nintex Community Menu Bar

In K2 5 how do you get an IPC  workflow to start in the security context of the K2 service account , mine start in the security context of the originator , Is there an option to specify the security context

 

Hi,


 


Perhaps, you can set Run As for sub workflow step in the K2 Management.



thanks

The step that calls the IPC process does not show in the 'Run As' listing.

 

Any idea of what to do?

 

I am trying to start an IPC  the originator does not have permission to start but needs approval first through a parent workflow.

I then want to run the IPC as the system account.


Did you ever get around this?

Regards

Vernon

 


It does not look like it is configurable in the ‘Call Sub Workflow’ step or after it is deployed.  Perhaps creating an advanced SmartObject that uses the following object/methods will start the Workflow as K2 service account:

  • K2 Management (service) > Workflow > Client > ManagementService > StartProcessInstance(ProcessInstance ProcessInstance, Boolean Sync)
  • K2 Management (service) > Workflow > Client > ManagementService > ProcessInstance (for serializations)

Reply