Expand my Community achievements bar.

SOLVED

Confirming multiple deliveries at once

Avatar

Level 2

Daily I am running deliveries to a prepare and validating counts prior to confirming them all to deliver. There are 116 deliveries each day, so confirming them one by one after validating the quantities of each is tedious. Is there a way to confirm multiple (all) at once?

Thank you,

Keith

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

here is an idea which might solve your problem.

get all your deliveries using a query activity //update this every day or use delivery codes

write a script to iterate over all deliveries in that delivery collection

  • Start Loop for every var delivery in delivery collection
  • delivery.scheduling.validationMode = "auto";
  • delivery.validation.validationMode = "auto";
  • delivery.scheduling.delayed = 0;
  • delivery.save();
  • delivery.Play();
  • End the loop

it should start your delivery.

Regards,

Amit

View solution in original post

3 Replies

Avatar

Level 10

Hi Keith,

I am not aware of any possibility to have some sort of batch confirmation. If you don't need to confirm them all manually (which seems to be the case if you want to batch confirm), could it be worth changing the delivery parameters so that some of them don't need confirmation?

Florent

Avatar

Level 2

Just an update on this. The use case is specific to running to prepares so that additional testing of the population can be done via querying the broadlog. After running the campaigns manually for some time the intent is to run them to 'Prepare and Start' but the prepared deliveries + audits on the broadlog creates a safety net of sorts until we feel comfortable that the campaigns behave exactly as intended.

Avatar

Correct answer by
Level 10

Hi,

here is an idea which might solve your problem.

get all your deliveries using a query activity //update this every day or use delivery codes

write a script to iterate over all deliveries in that delivery collection

  • Start Loop for every var delivery in delivery collection
  • delivery.scheduling.validationMode = "auto";
  • delivery.validation.validationMode = "auto";
  • delivery.scheduling.delayed = 0;
  • delivery.save();
  • delivery.Play();
  • End the loop

it should start your delivery.

Regards,

Amit