Read and Review Automation Anywhere Documentation

Automation 360

Close Contents

Contents

Open Contents

Migration action mapping results API

  • Updated: 2/04/2021
    • Automation 360 v.x
    • Manage
    • RPA Workspace

Migration action mapping results API

List action mapping results for bots by unique numeric identifiers for the migration {id} and the journal {journalid}, and then filter the results by selected fields.

Prerequisites

  • You must have an admin role or a custom role with View migration permission.
  • The numeric identifier, {id}, for the migration you want to view.
  • The numeric value for the {journalid} associated with the migration identifier. See How to find a migration journalid
Supported filterable fields:

Use the following filters in the request body to narrow the search results:

  • targetAction: Target action of the migrated bot.
  • reason: The reason why this action migration is failed.

Procedure

  1. Add the authentication token to the request header.
  2. In the request URL, enter the migration and journal IDs.
  3. Use the POST method and endpoint URL: <your_control_room_url>/v3/migration/{id}/journal/{journalid}/actionmappings/list

    This request searches for action mappings that contain the word not yet supported in the reason.

    Request body
    {
        "sort": [
            {
                "field": "targetLineNumber",
                "direction": "asc"
            }
        ],
        "filter": {
            "operator": "substring",
            "value": "not yet supported",
            "field": "reason"
        },
        "fields": [],
        "page": {
            "offset": 0,
            "total": 100,
            "totalFilter": 100,
            "length": 200
        }
    }
  4. Send the request.
    Response body:
    {
        "page": {
            "offset": 0,
            "total": 10,
            "totalFilter": 1
        },
        "list": [
            {
                "targetLineNumber": 1,
                "targetAction": "runTask",
                "isReviewRequired": true,
                "reason": " 1. The \"Run Task\" bot path defined with variables is not yet supported.",
                "remarks": "",
                "id": 6,
                "sourceLineNumber": 0,
                "sourceAction": ""
            }
        ]
    }

    The response for this request returned 1 of 10 migration action mappings results.

The REST API responds to each request with an HTTP response code. For response codes, see API response codes.
Send Feedback