Hi,
When I am trying to add a queue item with unique reference set, if it is added for the second time, the bot is throwing an error, How to work with this error in REFRanework. I only want the bot to add new items to quuee and ignore already added items,
The bot will receive the error code 1016 (DuplicateReference). So you can surround the Add Queue Item activity with Try Catch then treat the error code in Exception, ignoring the error, reponse to source system about the duplicate etc
Another solution - you could use the “Get Queue Items” activity to check for existing items with the reference. Only if the result is 0, proceed with adding to queue.
While you are creating the queue in Orchestrator. If you checked the Enforce Unique reference option then it will not allow you to add duplicate reference queues into it.
Uncheck the option and then try it will add the queues with same reference for sure.