I have two queues which has to run on the same machines. The bot which uses the first queue has to enter the data in second queue. Once the data is entered in second queue the second queue should take the priority 1 and process rather 1st queue going into considering the next work item. Is this possible in Automation Anywhere, If yes how?
Best answer by b.taylor
interesting. yeah, sounds like you’re probably fine with simply setting the 2nd queue to be the priority over first queue by running the queues on the device pool in priority mode (instead of round-robin mode). it’s a simple thing to configure in the control room, docs below describe how to do it.
assuming these need to be sequential batches where all items in the first queue need to be completed successfully before we use the second automation to process items in the second queue, the idea I would start by considering is to create a script that runs periodically on a separate runtime device from the device pool processing the wlm work items (call it a “control script”) and it would use the control room v3/wlm api to manage enabling/disabling queues 1 and 2 depending on their current state in terms of work items being fully completed in either queue.
assuming these need to be sequential batches where all items in the first queue need to be completed successfully before we use the second automation to process items in the second queue, the idea I would start by considering is to create a script that runs periodically on a separate runtime device from the device pool processing the wlm work items (call it a “control script”) and it would use the control room v3/wlm api to manage enabling/disabling queues 1 and 2 depending on their current state in terms of work items being fully completed in either queue.
@b.taylor , the scenario is theres no different machine and the bot should not wait to complete all the work item of first queue to start the second queue. It has to be 2nd queue always to take priority even if there’s values in first queue.
interesting. yeah, sounds like you’re probably fine with simply setting the 2nd queue to be the priority over first queue by running the queues on the device pool in priority mode (instead of round-robin mode). it’s a simple thing to configure in the control room, docs below describe how to do it.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.