Skip to main content
Solved

Prioritizing Queue


Abhay Naik
Forum|alt.badge.img+7

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?

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.

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

 

View original
Did this topic help answer your question?

6 replies

Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3274 replies
  • August 9, 2024

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


Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 57 replies
  • August 9, 2024

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.


Abhay Naik
Forum|alt.badge.img+7
  • Author
  • Navigator | Tier 3
  • 98 replies
  • August 9, 2024
Tamil Arasu10 wrote:

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.


Abhay Naik
Forum|alt.badge.img+7
  • Author
  • Navigator | Tier 3
  • 98 replies
  • August 9, 2024
b.taylor wrote:

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.


Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 57 replies
  • Answer
  • August 9, 2024

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

 


Abhay Naik
Forum|alt.badge.img+7
  • Author
  • Navigator | Tier 3
  • 98 replies
  • August 12, 2024

Hey @b.taylor ,

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings