queryTaskStatus
Endpoint: console-rpa.aliyun.com/rpa/openapi/task/queryTaskStatus
HTTP method: GET
Response format: JSON
Description: Queries the status of a specific task.
Request parameters
Parameter | Type | Required | Example | Description |
taskId | String | Yes | 3226a05a-98b9-4d48-8529-b8fb7e4561c6 | The unique ID of the task. |
Response parameters
For information about common response parameters, see Response results. The data object contains the following parameters.
Parameter | Type | Example | Description |
status | String | error | |
statusName | String | Terminated with error | The status name. |
result | String | The client disconnected, terminating the task. | A message that provides details about the status. |
hciTodoId | String | 9aa0aeab-**** |
|
hciTodoDetail | String | The automation workflow is waiting for the user to complete the guided actions before continuing... |
|
Examples
Example request:
https://console-rpa.aliyun.com/rpa/openapi/task/queryTaskStatus?<common request parameters>
&taskId=3226a05a-98b9-4d48-8529-b8fb7e4561c6Example response:
{
"requestId":"244d2757-79bd-46c1-af79-d0d4df2fdeb7",
"success":true,
"code":0,
"msg":"Call successful.",
"msgCode":"result.success",
"data":{
"status":"notready",
"statusName":"Not ready",
"result":"The robot is not ready because it is not in an idle state."
},
"pager":null
}