Skip to main content
Nintex Community Menu Bar

How do you get an IPC Workflow to start in the security context of the K2 service

  • Mar 21, 2019 8:57 AM UTC
  • 5 replies
  • 98 views
  • Translate All

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

 

5 replies

Forum|alt.badge.img+16
  • Mar 21, 2019 4:34 PM UTC

Hi,


 


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


Translate

  • Author
  • Mar 22, 2019 8:24 AM UTC
thanks
Translate

  • Feb 11, 2020 5:39 AM UTC

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.

Translate

Vernon
Forum|alt.badge.img+14
  • Scout
  • Jan 5, 2023 1:57 AM UTC

Did you ever get around this?

Regards

Vernon

 

Translate

Forum|alt.badge.img+11
  • Nintex Employee
  • Feb 9, 2023 9:06 PM UTC

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)
Translate