I am doing an AB Test and need to pass through the Delivery ID in order to then union the data back together and perform some analysis on the results (producing data extracts of recipient activities). However I can't seem to get a delivery ID to be passed through from the deliveries themselves. I've tried adding it as a variable but this doesn't appear to work.
What is passed through is the 'Foreign Key of the link 'Message' (field 'id') field. Whilst this serves almost the same function there are two issues with this field.
It doesn't exist until the Delivery is run and therefore causes issues in any workflow which relies on linking to this field.
It doesn't appear to be generated for the AB test 'Winner' delivery.
Any advice would be much appreciated. Thanks in advance.
I am not sure about message table not having delivery.
But, I can help with defining the variable in delivery and using it later in your workflow. To define a variable in delivery activity, Right click on delivery and click open. It will open a generic workflow activity form instead of delivery form. You can define variables in script tab of this form, it variables will be available in your workflow later on.
As per my understanding variables define in delivery variable tab are only available with in delivery.