Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Use of Javascript variables in delivery

Avatar

Level 4

Hi,

 

I have created one simple workflow in which first activity is JS Code - here, I am trying to store value in instance variable. I have logged this and it is showing under journal. Second acitivity is query in which I am fetching test account and this is working. Third activity is the recurring delivery. I am trying to show instance variable in this delivery. I have added "script" in this delivery and I have also added "variable" under properties.

 

However, emails are not being sent at all.

 

I have followed step as per URL - https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic/tuesday-tech-bytes-adobe-cam...

 

@ParthaSarathy - can you please help?

 

JS Code

 

1. instance.vars.temp = functioname('parameters');

2. logInfo(instance.vars.temp);

 

Query

 

1. Temp player ID

 

Delivery

 

HTML:

Data is <%= variables.temp %>

 

Script:

delivery.variables._var[0].stringValue=instance.vars.temp;

 

Variables under properties:

"temp"

 

0 Replies