Failed count

How to check particular queue item failed how many times?
I am using get queue item to fetch failed items?
If particular queue item is failed more than 2 times,I want to do nothing
If less than 2 times then retry same item

Hi @ankitasharma443396

Get the queueitems which are in failed state.
Check the count of the queueitem
Use the if condition

Check the below thread,to get more info

Hope it helps!!

@ankitasharma443396

hope its help

If a queue item fails this is it’s journey:

Status: new
→ get transaction item
Status: in progress
→ set transaction status (Failed)
Status: failed
→ Orchestrator checks: retry still allowed is true
→ Retry queue item. Creates a clone of the original queueitem with status new, and changes the failed item to retried.
Status: retried + status: new

Measuring the # of retries directly in the orchestrator can only be done by filtering on the reference. This will show you all attempts and their status.
If you export the queueitems to a .csv one column in the output also keeps track of the # of attempts.

Note: it is also possible to manually retry an item regardless of the retry limit.

@ankitasharma443396 If you are using queue to store the transaction data, we have an option to choose Auto Retry, and you can choose desired number the Max retries their
image