-
Sub-task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
User Story (Required on creation):
When an RPA bot has been started in Automation Anywhere, the Bridge can poll for status updates and handle the outcome (fail, complete external task). The user can configure how often polling is performed.
Acceptance Criteria
- Datamodel for request and response bodies
- Create StatusFetcher for AA (most of the logic could be abstracted and only vendor specific logic should be duplicated)
- Extend configuration (TBD: polling.rate-ms, polling.init-delay-ms, pagination)
- The Bridge should be smart about polling more than 2000 bots at once and make multiple requests. The same applies to UiPath were we currently also don't have such a mechanism.
Technical Requirements (Required before implementation):
- Authentication
Hints
Get bot status:
- https://community2.cloud-2.automationanywhere.digital/swagger/ui/?url=/swagger/api/v2/bot-execution-orchestrator-api-supported.yaml#/automations/post_activity_list
- https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/control-room-api/cloud-orches-activity-list.html#Zj0vY2F0ZWdvcnkvZXhwbG9yZT9wPUV4cGxvcmU=
- Tests: mock interaction with API
- Sample response
{ "id": "41192211-d3b3-46d4-a14f-300264e46722_584a82b922bc32f6", "automationName": "HelloWorld_21.02.16.12.46.33_camunda_API", "fileName": "HelloWorld", "filePath": "Automation Anywhere\\Bots\\HelloWorld", "type": "TASK", "startDateTime": "", "endDateTime": "", "command": "Waiting for user: runner and/or device: LAPTOP-J0G4JA7N", "status": "QUEUED", "progress": 0, "automationId": "", "userId": "6", "deviceId": "-1", "currentLine": 0, "totalLines": 0, "fileId": "23", "modifiedBy": "1", "createdBy": "1", "modifiedOn": "2021-02-16T12:46:34.130365Z", "createdOn": "2021-02-16T12:46:34.124407Z", "deploymentId": "c287af42-3a56-432d-b1bb-cea2467efd70", "queueName": "", "queueId": "", "usingRdp": false, "message": "", "canManage": true, "deviceName": "Picked at run time", "userName": "runner", "botOutVariables": { "values": {} }, "tenantUuid": "b699ade9-4447-4bc6-b44e-bb70a0ef8c97" }, { "id": "41192211-d3b3-46d4-a14f-300264e46722_584a82b922bc32f6", "automationName": "HelloWorld_21.02.16.12.46.33_camunda_API", "fileName": "HelloWorld", "filePath": "Automation Anywhere\\Bots\\HelloWorld", "type": "TASK", "startDateTime": "2021-02-16T12:47:07Z", "endDateTime": "1970-01-01T00:00:00Z", "command": "", "status": "UPDATE", "progress": 0, "automationId": "5", "userId": "6", "deviceId": "2", "currentLine": 0, "totalLines": 1, "fileId": "23", "modifiedBy": "6", "createdBy": "1", "modifiedOn": "2021-02-16T12:47:07.936163Z", "createdOn": "2021-02-16T12:46:34.124407Z", "deploymentId": "c287af42-3a56-432d-b1bb-cea2467efd70", "queueName": "", "queueId": "", "usingRdp": false, "message": "", "canManage": true, "deviceName": "LAPTOP-J0G4JA7N", "userName": "runner", "botOutVariables": { "values": {} }, "tenantUuid": "b699ade9-4447-4bc6-b44e-bb70a0ef8c97" }, { "id": "41192211-d3b3-46d4-a14f-300264e46722_584a82b922bc32f6", "automationName": "HelloWorld_21.02.16.12.46.33_camunda_API", "fileName": "HelloWorld", "filePath": "Automation Anywhere\\Bots\\HelloWorld", "type": "TASK", "startDateTime": "2021-02-16T12:47:07Z", "endDateTime": "2021-02-16T12:47:18Z", "command": "", "status": "COMPLETED", "progress": 100, "automationId": "5", "userId": "6", "deviceId": "2", "currentLine": 1, "totalLines": 1, "fileId": "23", "modifiedBy": "6", "createdBy": "1", "modifiedOn": "2021-02-16T12:47:18.499027Z", "createdOn": "2021-02-16T12:46:34.124407Z", "deploymentId": "c287af42-3a56-432d-b1bb-cea2467efd70", "queueName": "", "queueId": "", "usingRdp": false, "message": "", "canManage": true, "deviceName": "LAPTOP-J0G4JA7N", "userName": "runner", "botOutVariables": { "values": {} }, "tenantUuid": "b699ade9-4447-4bc6-b44e-bb70a0ef8c97" }
This is the controller panel for Smart Panels app
- depends on
-
CAM-13114 I can configure authentication with Automation Anywhere A2019
- Closed