Skip to content

Postpone Transaction

Type: queue-postpone-transaction  ·  Package: Queue Activities v1.0.0  ·  Output:

Defers an item you are processing: returns it from in_progress to state new and sets a time after which it can be delivered again. Unlike a failure, it does not count as an attempt (decrements the counter), so it does not consume retries.

It is used when the item cannot be processed now, but can be processed later: a system under maintenance, a document that is not yet available, a time window. Instead of failing, you postpone it and another (or the same) bot will pick it up later.

ParameterEditorDescription
itemexpressionThe ZoanQueueItem returned by Get Queue Item.
deferUntilexpressionISO 8601 date/time from which the item can be delivered again.

If the supplier portal is under maintenance, postpone the item for one hour:

If condition = = portalEnMantenimiento
└─ then:
Postpone Transaction
item = = item
deferUntil = = now().AddHours(1).ToString("o")