Hi,
I need an efficient solution for processing queue items. For instance, if 40 queue items are added today and 20 are processed successfully while 20 remain in ‘new’ status due to system exceptions or unhandled logic, the queue will keep retrying these 20 items. Meanwhile, if 30 new orders are placed, they aren’t being picked up right away because the system is focused on retrying the existing items. I have to manually change the postpone and deadline settings for the new items to get processed.
Is there a better way to manage this? Also, is there a method to prioritize and process newly added queue items faster, considering each item takes 20 minutes to execute?
@logesh_kumar1 , you may disable “Auto Retry” for the Order Queue in Orchestrator.
The process can send an email alert etc up on failure, so someone can take a look at the failed order.
Another trick is to add the failed queue item again (from within the failed process) with a lower priority; this would enable new orders to process ahead of the retried items.
@sudster Auto retry is already disabled. Our process retrieves items from the queue, and while some failed items get executed on subsequent attempts, not all of them require a fix. Changing the priority could be one solution, but my concern is that if new items keep getting added, the low-priority items may never get a chance to execute like our existing flow. Is that correct?
Hi @ashokkarale , We are unable to change the priority because all the queue items will be coming from the web application. we would need a manual effort to do this.
Currently the admin rights client and they are not ready to provide the client ID,FID,ORG ID like these details that would require for a API call.
Changing the priority could be one solution, but my concern is that if new items keep getting added, the low-priority items may never get a chance to execute. Is that correct?
Give the justification to your requirements and the solution details to them. Also let them know this is the best solution.
To overcome this, you will have to add deadline as well to the queue item which will ensure that even lower priority queue items will be processed withing the timeline.