Skip to main content
Level 5
Jul 28, 2023 12:02 PM UTC
Solved

Variables Section in Workflow Properties

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?

 

 

 

Regards

Abhishek

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
ParthaSarathy
ParthaSarathyAccepted solution
Community Advisor
Jul 28, 2023 12:57 PM UTC

Hi @aggabhi ,

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

Example,

 

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.

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

 

 

~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups

3 replies

ParthaSarathy
Community Advisor
ParthaSarathyCommunity AdvisorAccepted solution
Community Advisor
Jul 28, 2023 12:57 PM UTC

Hi @aggabhi ,

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

Example,

 

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.

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

 

 

Translate
~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups
LakshmiPravallika
Community Advisor
Community Advisor
Jul 28, 2023 1:41 PM UTC

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-management/javascript-scripts-and-templates.html?lang=en

 

Regards,

Pravallika.

Translate
aggabhiAuthor
Level 5
Jul 28, 2023 2:22 PM UTC

Thank you so much @lakshmipravallika  @parthasarathy  for your help, really helpful.

 

Regards

Abhishek

Translate