Queue item already exists

Ajayv

New Member
How to avoid this , What if queue item already exists in the queue and bot works on that queue again ?

Can anyone please suggest
 

sahil_raina_91

Active Member
The question is confusing.
How can the Robot work on an item that has been already worked before, since it won't be in PENDING state ?
> The status would have changed to Success/Exception mostly.

If you are worried about adding the same Item again in Queue, then :
> Use Is Item In Queue action in Work Queue VBO

This action will take Key input and let you know if an Item with that Key is already present in the Queue.
Based on the True/False value of output you can decide to either add the Item in Queue or not add the item in Queue.
 

Pete_L

Active Member
In your process, you should be marking each item as either Complete or Exception before you Get Next Item. Check your process to make sure you are doing that. Complete or Exception will change the item from pending to either worked or Exception (Referred). Get Next Item only returns items that are pending. If you mark the item appropriately, it will no longer be pending and will therefore not be selected from the queue again.
 
Top