Workflow execution account | Community
Skip to main content
Level 3
June 2, 2020
Solved

Workflow execution account

  • June 2, 2020
  • 1 reply
  • 2389 views

Hi Team,

 

I need to change execution account for all of the workflows available in my instance. How can I acheive this?

 

Query -->. select all workflow

Update data activity --> Could you please guide what attribute I need to call upon to Update the 'execution account of the workflow'

 

Thanks and Regards,

partha

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 isahore

Hi @partha18,

You can do so by changing the operator id assigned to the workflow in the xtk:workflowLogin schema. This is applicable if your workflows are scheduled and already in a running state.

If you don't see all your workflows here, then you can do as follows:

Query -->. select all workflow. Next, in a javascript activity, loop through those workflow ids returned in the previous query activity and do the following in the for loop

xtk.workflow.SetLogin(<<workflow-id or internalName>>,<<Login of the operator or empty string as you wish>>);

More details here: https://docs.adobe.com/content/help/en/campaign-classic/technicalresources/api/sm-workflow-SetLogin.html?hl=setlogin

 

 

1 reply

isahore
Community Advisor
isahoreCommunity AdvisorAccepted solution
Community Advisor
June 2, 2020

Hi @partha18,

You can do so by changing the operator id assigned to the workflow in the xtk:workflowLogin schema. This is applicable if your workflows are scheduled and already in a running state.

If you don't see all your workflows here, then you can do as follows:

Query -->. select all workflow. Next, in a javascript activity, loop through those workflow ids returned in the previous query activity and do the following in the for loop

xtk.workflow.SetLogin(<<workflow-id or internalName>>,<<Login of the operator or empty string as you wish>>);

More details here: https://docs.adobe.com/content/help/en/campaign-classic/technicalresources/api/sm-workflow-SetLogin.html?hl=setlogin