xtk.workflow.postEvent in adobe campaign classic | Community
Skip to main content
vaidehig2773360
New Participant
August 30, 2018
Solved

xtk.workflow.postEvent in adobe campaign classic

  • August 30, 2018
  • 12 replies
  • 12324 views

Hi

I am calling TestBatchfileExt  from TestWorkflow

vars.listName="GOLD FISH";

logInfo("Calling workflow: TestBatchFileExt");

xtk.workflow.PostEvent("TestBatchFileExt", "signal", "", <variables varName= {vars.listName} />, false);

logInfo("Called successfully");

logInfo("ListNameFromSource" + vars.listName);

How can I access vars.listName in estBatchfileExt.

Please post your answer

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 vraghav

Hi vaidehig27733606,

On the TestBatchFileExt place a JS code activity and read the variable

var myListName = vars.listName;

logInfo("Name passed from calling workflow : " + myListName);

Regards,
Vipul

12 replies

vaidehig2773360
New Participant
August 31, 2018

Thanks for your quick reply

I am able access the parameters in the destination workflow.

vraghav
vraghavAccepted solution
Employee
August 31, 2018

Hi vaidehig27733606,

On the TestBatchFileExt place a JS code activity and read the variable

var myListName = vars.listName;

logInfo("Name passed from calling workflow : " + myListName);

Regards,
Vipul