Skip to main content
Question

Queue - pause and start

  • January 19, 2023
  • 4 replies
  • 377 views

Forum|alt.badge.img+5

Hi All, 

 

Is it possible to pause the Queue through bot or via API? Once the data is sent to the queue, I need to check something before the Workitems are picked up by all the machines in Device pool. 

 

Hence wanted to know if we can pause the queue automation after the work items are inserted and then resume queue automation via api or Bot? ( I do not want this to do manually)

 

Thanks

Vanitha R

 

 

4 replies

rbkadiyam
Premier Pathfinder | Tier 7
Forum|alt.badge.img+17
  • Premier Pathfinder | Tier 7
  • 597 replies
  • January 19, 2023

@VanithaR 

 

  1. Optional: If you want to update the Work Item data, when the automation is running, you need to perform the following steps:
    1. Pause the automation. Use the PUT method and the following endpoint URL: <your_control_room_url>/v3/wlm/automations/{id}
    2. Update the Work Item by using queue ID and Work Item ID. Use the PUT method and the following endpoint URL: <your_control_room_url>/v3/wlm/queues/{id}/workitems/{workitemId}
    3. Resume the automation. Use the PUT method and the following endpoint URL: <your_control_room_url>/v3/wlm/automations/{id}

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/control-room-api/cloud-api-wlm-add-workitems.html


Forum|alt.badge.img+5
  • Author
  • Navigator | Tier 3
  • 17 replies
  • January 19, 2023

Hi @rbkadiyam, In your steps you have mentioned to pause automation(is it done manually???) and then update work items via API. I would like to know if it is possible to pause automation via API? 

 

Thanks


rbkadiyam
Premier Pathfinder | Tier 7
Forum|alt.badge.img+17
  • Premier Pathfinder | Tier 7
  • 597 replies
  • January 19, 2023

umeshkumar.automation
Cadet | Tier 2
Forum|alt.badge.img
VanithaR wrote:

Hi All, 

 

Is it possible to pause the Queue through bot or via API? Once the data is sent to the queue, I need to check something before the Workitems are picked up by all the machines in Device pool. 

 

Hence wanted to know if we can pause the queue automation after the work items are inserted and then resume queue automation via api or Bot? ( I do not want this to do manually)

 

Thanks

Vanitha R

 

 

Hi ​@Vanitha R , were you able to get a solution for this? 

 


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