Skip to main content

Hi,

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?

Hi @Abhay Naik,

In the Control Room, you can set the priority for each queue. Make sure Queue 2 has a higher priority than Queue 1

Ensure that the bot processing Queue 2 is set to run with a higher priority


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.


Hi @Abhay Naik,

In the Control Room, you can set the priority for each queue. Make sure Queue 2 has a higher priority than Queue 1

Ensure that the bot processing Queue 2 is set to run with a higher priority

Hi @Tamil Arasu10 ,

What option is that in control room to prioritize the queue? Could you please let me know where i could find 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.

@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.

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/devices/cloud-edit-device-pool.html

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/devices/orderOf-the-automation-queue.html

 


Hey @b.taylor ,

Thank you for this answer. This helped to solve the issue.


Reply