Avatar

Correct answer by
Community Advisor

Hello @montezh2001 

 

You are trying to save the value of the dmOutboundFlag in the delivery schema and there is no such field in the schema.

 

Replace

delivery.dmOutboundFlag =vars.dmOutboundFlag;

with

delivery.variables._var[0] = vars.dmOutboundFlag;

Then in the delivery properties create a variable with the name "dmOutboundFlag".

 

Now you can use this variable in the email delivery like this.

<%= variables.dmOutboundFlag %>

View solution in original post