如何查找迁移 journalid
迁移可以有多个 journalid。您可以在特定迁移 ID 的结果列表的响应中找到 journalid。
在此请求中,我们搜索了 ID 为 16 的迁移结果。
<your_control_room_url>/v3/migration/16/results/list
请求将每个对象列表中的 ID 作为 journalid 返回。在此示例中,迁移 ID 16 有两个日志标识符,即 30 和 31。{
"page": {
"offset": 0,
"total": 2,
"totalFilter": 2
},
"list": [
{
"sourceId": 12,
"sourceName": "Dependency of IGN-23437.mbot",
"sourcePath": "Automation Anywhere\\Bots\\My MetaBots\\Dependency of IGN-23437.mbot",
"sourceType": "application/vnd.aa.mbot",
"targetId": 0,
"status": "FAILED",
"reason": "The logic IGN-23437 has some commands or actions which are not yet supported for migration.",
"selectedByUser": true,
"userId": 9,
"id": 30,
"targetName": "",
"targetPath": "",
"targetType": ""
},
{
"sourceId": 12,
"sourceName": "Dependency of IGN-23437.mbot",
"sourcePath": "Automation Anywhere\\Bots\\My MetaBots\\Dependency of IGN-23437.mbot",
"sourceType": "application/vnd.aa.mbot",
"targetId": 0,
"status": "FAILED",
"reason": "Migration of MetaBot failed.",
"selectedByUser": false,
"userId": 9,
"id": 31,
"targetName": "",
"targetPath": "",
"targetType": ""
}
]
}
您可以在操作映射请求中使用迁移 ID 和日志 ID。
<your_control_room_url>/v3/migration/16/journal/31/actionmappings/list