Update contact date for scheduled delivery
Hi,
I'm looking for a way to successfully update the contact date for already scheduled delivery. The delivery is scheduled via Scheduling > Schedule delivery (automatic execution when the scheduled date is reached), the workflow with it is executed and the delivery is prepared and has status "Start pending".
What I tried is to update the contact date from js:
var deliveryId = 123;
var updatedTime = "2025-10-27T09:00:00.000Z";
var del = nms.delivery.load(deliveryId);
del.scheduling.contactDate = new Date(updatedTime);
del.save();The script successfully updates the contact date, but the delivery is sent at original time not updated one.
I think that there is some interim schema which also needs to be updated.
Any clues how it can be done? The setup should work in v8.