You have enable unique references in the queue, and the value you are passing in the reference section while adding item to the queue, for some of it, it might be the same.
hence this error, can you sare the properties screenshot of the bulk add queue item activity that you have filled
Hi @adiijaiin and @ppr ,currently I’m using RPA challenge data for testing. As my current project is similar and i haven’t used Queues full fledged till now. The reason why I’m adding Unique references is that if my bot fails and if it re run it shouldn’t add the same data again in queue right. Is this the correct approach or any alternate way or any suggestions how can i achieve this for not adding same data again.
The retry mechanism is also available if no unique reference = true has been configured. It is performed internally by UiPath/Orchestrator and also knows the chain of failed and new tried items.
Adding a QueueItem by code/developer/manually in the Orchestrator is blocked for empty/duplicated references of QueueItems if Enforce Unique Reference is set to true.
Can you try enabling the property continue on error, and then run the bot?
Hoping that you have passed a column value or something unique in the reference property for each item.
There’s a property called as commitType can you set it to ProcessAlllIndependently as well.
My suggestion would be to loop through all the records and use add queue item activity and pass the reference column name which is unique. Because I’m unable to see any property for passing reference in the bulk add queue item.
@ppr ok got it. Is there any option that whether the process is Run by manual trigger or scheduled trigger. Based on this i can eliminate upload data to queues second time using some True or False Condition.
@Anil_G is there any option that i can identify this in studio and setup it as true or false condition because if it’s manual trigger i will eliminate uploading data into queue.
@Anil_G can you explain me in some detailed or any documentation available for this. Seriously i haven’t used Orchestrator till now this is the first project with that. That’s the reason I’m having lots of doubts and fear.