Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12551 Support orchestration of Automation Anywhere RPA bots
  3. CAM-13118

The RPA Bridge can poll for Bot Status Updates against Automation Anywhere A2019 API

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • rpa-bridge-1.1.0
    • None
    • rpa
    • 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:

      • 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

              miklas.boskamp Miklas Boskamp
              miklas.boskamp Miklas Boskamp
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: