Sign in to Community
Sign in to view all badges
I am trying to use a instance variable defined in a workflow, in the file name for the Direct Mail extract.
1. Defined instance variable in a JS activity in the workflow.
2. Used this variable in the delivery variables tab as $(instance/vars/@var1) and named the variable as DelVariable1.
3. Used the variable from the delivery parameters in the file Name. <%= variables.DelVariable1 %>
The issue is:
We are getting an error while executing the delivery: Unable to parse the expression $(instance/vars/@var1).
Can someone suggest anything?
I think you should not place an @ in the XPATH.
as I also described in this ticket:
Re: To Read a variable in Delivery activity - Adobe Campaign
But let me know if I am wrong and you succeed to use XPath syntax instead.
Thanks Jean for your inputs. It worked.