Hello,
I created the following variable in an Enrichment just before a Delivery activity:
But when I try to pull that variable into the Delivery Script as a Delivery, I get an error:
Any ideas on what I'm missing? I can see the variable created, but not sure why it's not getting recognized.
Solved! Go to Solution.
Views
Replies
Total Likes
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 %>
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 %>
Thank you for your help.
This didn't work for what I was trying to do, but it was a solution for another problem I was having.
For the original problem, I set an Option in the outbound workflow, and in the Inbound workflow that was triggered from the outbound, I used a getOption in a Test activity to determine which transition my workflow needed to process. I reset the option once a path was established.
Thank you again.
Views
Replies
Total Likes
Views
Likes
Replies