CQ 5.5 - pass initiator to sub-workflow (Container) | Community
Skip to main content
dmytro_panchen1
October 16, 2015
Solved

CQ 5.5 - pass initiator to sub-workflow (Container)

  • October 16, 2015
  • 1 reply
  • 878 views

Hi, I have a workflow that executes another workflow as a Container step. The problem is that the sub-workflow is executed from under "admin" user, not the one who launched the main workflow. Can I get the sub-workflow executed from under the actual user or pass the user information to the sub-workflow?

Will appreciate your help.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by WillMc1

Hi,

Yes, the container workflow starts the child workflow as admin because it is started in the back-end, and not directly by the user.

When you start a child process the metadata from the parent process is copied to the child process when it is started, I would add the user information you require (initiator?) to the parent's metadata before starting the child workflow, and use that value in the child workflow.

Will

1 reply

WillMc1Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi,

Yes, the container workflow starts the child workflow as admin because it is started in the back-end, and not directly by the user.

When you start a child process the metadata from the parent process is copied to the child process when it is started, I would add the user information you require (initiator?) to the parent's metadata before starting the child workflow, and use that value in the child workflow.

Will