@Tejaskumar_DarjiGot it, so I advise you to use the work queue itself, maybe you'll waste a few seconds for this, but it sure will be more accurate then you'll have this multi bot problem.
What I usually do:
I create two processes: A "Producer" where all the work queue logic will be and which will run only when it is necessary to populate items and a consumer process where it is not responsible for populating, only consuming the queue items that have already been populated, then you can prevent this competition problem, knowing that a single robot will validate and popular and the consumer will consume everything.
------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
-------------------------------------------
Sr Cons at Avanade Brazil