Skip to main content
Question

Track bot deployment via API deployment ID


Forum|alt.badge.img+4
  • Cadet | Tier 2
  • 9 replies

Using Control Room API and I have triggered a bot to run and receive a deploymentId, but I want to track the status of the job with the deployment.

 

Now in the swagger documentation I can see /v3/activity/execution/{id} but when I try this I receive

 

{

    "message": "Job execution not found"

}

 

Any advise before I badger Support?

4 replies

Raul Jaimes
Forum|alt.badge.img+9
  • Navigator | Tier 3
  • 494 replies
  • January 6, 2023

@AndyF ,

You should have the View and Manage Scheduled Activity permission in order to see the jobs from Activity list.

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/control-room-api/cloud-job-execution.html

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/control-room-api/cloud-monitor-bot-progress-api.html

Seems obvious, but check if the execution id is correct.

In addition, in previous A360 versions  this API was the endopint  /v2/activity/list . I guess you are in a Cloud version.

HTH

Regards


Forum|alt.badge.img+4
  • Author
  • Cadet | Tier 2
  • 9 replies
  • January 6, 2023

@Raul Jaimes I’ll double check the permissions.


Is there any other way to verify the deploymentID other then what is returned in the JSON?  Is the deploymentID a valid column in the Control Room GUI?

 

Yup We are in cloud, but will check against v2 in the Swagger documentation​


Raul Jaimes
Forum|alt.badge.img+9
  • Navigator | Tier 3
  • 494 replies
  • January 6, 2023

 

@AndyF ,

Great. Check the id after endpoint InProgress  if possible. This is the value of your bot  execution.

 

 

HTH

Regards


rbkadiyam
Mission Commander | Tier 5
Forum|alt.badge.img+17
  • Mission Commander | Tier 5
  • 587 replies
  • January 9, 2023

@AndyF  add application user as admin in control room to retrieve api results.


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