In diagram below third activity is a Automatic Activity in workflow. User is NT Authority. Can i change this user to previous activity user (jsha13)
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It only takes a minute to sign up.Sign up to join this community
As I understand it, you don't really want to change the user executing all workflow activities, what you want is the workflow history to reflect that this action was caused by a different user than "System".
I've worked around this requirement in the past by:
This will effectively change who performed the action, but does require some additional code and configuration.
In nutshell handling activities has next algorithm: if next activity assignee is workflowAgent(can be changed in tcmConfig...but by default is NT AUTHORITY) - notify workflow service, that it has to execute this activity. If somehow you'll be able to assign this activity to other user (which I doubt...at least earlier were business rules, which had ensured that automatic activity is assigned to WFAgent), Workflow Service will not able to execute automated activity...It will not get any info, that it needs execute something. Regarding to your first question(the problem itself) - need time for investigation, can't answer "on fly".