On occasion I will set the delivery label via a script (delivery.label = XXX). Is it possible to update the label with targetdata, from an Enrichment, earlier in the workflow? I've tried just the standard "delivery.label = XXX_<%= targetData.YYY%> but this fails.
Is anything along these lines possible?
Thanks in advance for your thoughts. Please let me know if some further information would be helpful.
This may be possible however if I understand correctly, the targetData will have a value for each record whilst there is only one label.
Where is the label in the target data collected from? If you can be a bit more specific then I may be able to help.
Thanks for getting back to me on this.
The data sets I have will have between 3 and 6 different cell flags in them. So, for example, if there are 1,000 records in the data, 250 of them will be marked with a Cell ID of '001', another 250 will be marked with '002' etc. Currently, I will split this data set and send each sub-set a separate delivery, but I wanted to try and keep the data as a single set, so the label is defined dynamically, much like you can with the Analysis tab of a Recurring delivery.
So, again to clarify, I want to pass 1 set of data, that would be, say, 4 seperate cell IDs and configure the label they all get the same Delivery, but those with a Cell Id of 001 get a label of 'LABEL_001' and those flagged as Cell Id 002 would get 'LABEL_002' etc.
Does that make sense and is that possible?
Hopefully this should run one transition at a time where it will compute the delivery label with each variable you have assigned.
Let me know if this works 🙂