Pass through Delivery ID

Avatar

Avatar

alistairk396804

Avatar

alistairk396804

alistairk396804

31-01-2017

Hi,

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.

  1. It doesn't exist until the Delivery is run and therefore causes issues in any workflow which relies on linking to this field.
  2. It doesn't appear to be generated for the AB test 'Winner' delivery.

Any advice would be much appreciated. Thanks in advance.

View Entire Topic

Avatar

Avatar

_nkur

Avatar

_nkur

_nkur

03-02-2017

alistairk39680404 wrote...

Hi Ankur,

To clarify here are my steps.

  • Create workflow > properties > click 'keep the results of the interim populations between two executions'
  • Create delivery
  • Right click delivery > Open > Click script and enter 'instance.vars.deliveryIN = vars.deliveryinternalName'
  • Click 'generate an outbound transition'
  • Create an enrichment after the delivery
  • Create a new field DevID = $(instance/vars/@deliveryIN)
  • Run delivery
  • Right click the target data from the enrichment. 
  • DevId is usually blank or has 'undefined'

Thoughts? 

 

Use 'delivery.id' or 'delivery.internalName' instead of  $(instance/vars/@deliveryIN). It should work.