Avatar

Community Advisor

@mpalaves 

 

after this code Add this line.

 

instance.vars.campaignName=workflow.@label

Then open the delivery and in advance tab for delivery add this code.

 

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

Now open the delivery go to properties and under variables tab. Create a new variable with data type as string and name it campaignName;

 

Now in your delivery HTML you can use this code to print the campaign Name

<%= variables.campaignName %>