Hi,
I need to add the instance.id to the winning delivery in an AB test.
As advised in a different topic I need to modify the Adobe Campaign Documentation script in order to add the instance.id in so that I can identify all deliveries in a campaign by querying the instance.id. Currently the script only links the winning delivery to the operation.
My issue is I'm not sure where the instance id is held. Would the below work?
delivery.[@workflow-id] = winner.@["instance-id"]
This is Vipul's comment;
The Campaign documentation explaining the script for selecting winner delivery just duplicates one of the A or B delivery and assigns the operation-id to it. In other words, the winner delivery is only being linked with the campaign. You'll have to add another line to this code so that attribute [@workflow-id] is populated with instance.id and then it will get picked by your queryDef.'