Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
SOLVED

Variables Section in Workflow Properties

Avatar

Level 6

Hi Everyone,

 

Just need to understand if I can get some examples or documentation that if we declare javascript variables in below Variable section of workflow properties, how that being assigned and worked?

 

aggabhi_0-1690545711444.png

 

 

Regards

Abhishek

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @aggabhi ,

When you declare a instance variable inside a workflow and execute it, those values gets stored in this Variable tab.

Example,

ParthaSarathy_0-1690548889771.png

 

Once the above JS activity is executed (refresh the console), these 3 variables and its corresponding values can be seen in workflow property > variable tab.

ParthaSarathy_1-1690548945176.png

So, if you update particular instance variable several times in a workflow, the last updated value can be seen here.

 

 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @aggabhi ,

When you declare a instance variable inside a workflow and execute it, those values gets stored in this Variable tab.

Example,

ParthaSarathy_0-1690548889771.png

 

Once the above JS activity is executed (refresh the console), these 3 variables and its corresponding values can be seen in workflow property > variable tab.

ParthaSarathy_1-1690548945176.png

So, if you update particular instance variable several times in a workflow, the last updated value can be seen here.

 

 

Avatar

Community Advisor

Hi @aggabhi ,

 

The Variables which you declare in the Workflow properties will allow you to see the last modified value of the Variable and if you declare in Javascript "instance.vars.Var1", then it will be visible inside the Variables Tab of Workflow properties.

 

Please refer to the below documentation link.

 

https://experienceleague.adobe.com/docs/campaign-classic/using/automating-with-workflows/advanced-ma...

 

Regards,

Pravallika.

Avatar

Level 6

Thank you so much @LakshmiPravallika  @ParthaSarathy  for your help, really helpful.

 

Regards

Abhishek