How to postpone multiple new work queue items to future date time? Seems no option in orch UI as well

How to postpone multiple new work queue items to future? Seems no option in orch UI as well. From code as well not able to do using change postpone activity since it does not work with new items.
I want to process a specific item and not touch the rest of it. Please advise.

Use Get Transaction to get it and mark it In Progress, then use Postpone Transaction.

@tejaskumar.darji

You can’t do it in bulk. You will have to do it one by one.

Hi @tejaskumar.darji

You can consider below approach:

  1. use get queue items activity with status “new”
  2. run loop for all queue items, use get transaction inside loop, this will set the transaction item in in-progress state
  3. next use postpone transaction item activity again within loop.

This would postpone your new items. If there is any new item in there which you don’t want to postpone, check its value/reference, if matched, no postpone, else postpone.

Please note: get queue items can only fetch 100 items at once, so if count is more than 100, you will have to do like pagination, once first 100 processed, get next 100 or whatever is left in the queue.

Hope this helps.

Regards
Sonali

Yeah i guess this should be added as feature in UI because this is a required task. During testing this would help a lot rather then marking each item as postpone.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.