Access current delivery id from the workflow.

Avatar

Avatar

amrutac89145301

Avatar

amrutac89145301

amrutac89145301

09-09-2020

I am using a delivery in a workflow. Post the delivery has completed I require the delivery id of the delivery and store it in a custom schema. Is it possible to obtain the delivery id, once the delivery has been completed, in the current workflow. 

Adobe Campaign Classic Delivery id workflows

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Florian_Courgey

MVP

Avatar

Florian_Courgey

MVP

Florian_Courgey
MVP

21-09-2020

Hi,

You can use vars.deliveryId in a JS activity right after a delivery.

To debug workflow variables:

  1. Activate workflow menu "Display the tasks and the log"
  2. Select the JS paused activity
  3. "Details" button
  4. "Variables" tab
  5. Find all the current variables, available with vars.XXX

20200921-111641-screenshot-3.jpg

 

Best

Florian

 

PS: source and details in this blog post.

Answers (4)

Answers (4)

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

13-09-2020

Hi,

 

If this is something you're doing on many deliveries, you may be better served using a post-processing workflow, service provider workflow template, or offline workflow to record the ID's.

 

Thanks,

-Jon

Avatar

Avatar

DavidKangni

MVP

Avatar

DavidKangni

MVP

DavidKangni
MVP

09-09-2020

Yes, add a transition from your delivery and then you can get it in the output transition using an enrichment or a js activity.

Thanks,

David

Avatar

Avatar

Sukrity_Wadhwa

Employee

Avatar

Sukrity_Wadhwa

Employee

Sukrity_Wadhwa
Employee

21-09-2020

Hi @amrutac89145301,

Were you able to resolve this query with any of the given solution? Please let us know.

Thanks!

Avatar

Avatar

SheetalAgrawalSoni

Avatar

SheetalAgrawalSoni

SheetalAgrawalSoni

09-09-2020

By default, the report shows all offers in all deliveries across all platforms. to narrow the data set, select your delivery from the delivery field or filter the report data by the start and the end dates. Refresh the report to see the most recent data through the applied filters.