I have set a unique account number into Add queue Item ‘reference’ Property field.
When I run the bot sometime, it’s not updating duplicates, but few times it’s updating Duplicate entry, event though the previous item was in ‘New’ Status.
Follow this suggestion when creating the queue. And go to your addtoqueue activity and mark the continueonError field as true. Because if an item comes in the same reference here, it will get an exception.
You can catch and pass this exception using try catch or you can set this field to true. Setting this field to true means you want to continue on other unlikely errors.