ListManualDagInstances
Retrieves the information about manually executed workflow instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectEnv |
string |
Yes |
The scheduling environment identifier in Operation Center, including PROD (production environment) and DEV (development environment). Valid values:
|
PROD |
| ProjectName |
string |
Yes |
The name of the workspace to which the manually executed workflow belongs. You can obtain it on the Workspace Configuration page in the DataWorks console. |
test_workspace |
| DagId |
string |
Yes |
The DAG instance ID for the manual workflow run. You can obtain it by calling the RunManualDagNodes operation. |
7000001231241 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response result. |
||
| RequestId |
string |
The request ID, which is used to locate logs and troubleshoot issues. |
SDFSDFSDF-SDFSDF-SDFDSF-SDFSDF |
| Instances |
array<object> |
The list of internal instances of the manually executed workflow. |
|
|
object |
The returned data. |
||
| Status |
string |
The status of the instance task. Valid values:
|
SUCCESS |
| BeginRunningTime |
integer |
The time when the instance task started running. The value is a 13-digit timestamp, such as |
1605178414676 |
| BizDate |
integer |
The business date. Typically, it is the day before the task runs. The value is a 13-digit timestamp, such as |
1605178414676 |
| CycTime |
integer |
The scheduled time of the instance task. The value is a 13-digit timestamp, such as |
1605178414676 |
| FinishTime |
integer |
The time when the instance task finished running. The value is a 13-digit timestamp, such as |
1605178414676 |
| CreateTime |
integer |
The time when the instance task was created. The value is a 13-digit timestamp, such as |
1605178414676 |
| DagId |
integer |
The DAG ID of the manually executed workflow instance. |
350850491 |
| InstanceId |
integer |
The internal instance ID. |
11726873619 |
| BeginWaitResTime |
integer |
The time when the instance task started waiting for resources. The value is a 13-digit timestamp, such as |
1605178414676 |
| TaskType |
string |
The scheduling type of the instance task. Valid values:
|
MANUAL |
| ParamValues |
string |
The parameter information of the instance. |
xxx=yyy |
| DagType |
string |
The identifier of the manually executed workflow. |
5 |
| NodeName |
string |
The name of the node. |
test2 |
| BeginWaitTimeTime |
integer |
The time when the instance task started waiting for scheduling. The value is a 13-digit timestamp, such as |
1605178414676 |
| NodeId |
integer |
The internal node ID of the workflow. |
37851 |
| ModifyTime |
integer |
The time when the instance task was last modified. The value is a 13-digit timestamp, such as |
1605178414676 |
| CreateUser |
string |
The user who triggered the instance to run. For example, if the user Test triggers the manually executed workflow instance to run, the value of CreateUser is Test. |
Test |
Examples
Success response
JSON format
{
"RequestId": "SDFSDFSDF-SDFSDF-SDFDSF-SDFSDF",
"Instances": [
{
"Status": "SUCCESS",
"BeginRunningTime": 1605178414676,
"BizDate": 1605178414676,
"CycTime": 1605178414676,
"FinishTime": 1605178414676,
"CreateTime": 1605178414676,
"DagId": 350850491,
"InstanceId": 11726873619,
"BeginWaitResTime": 1605178414676,
"TaskType": "MANUAL",
"ParamValues": "xxx=yyy",
"DagType": "5",
"NodeName": "test2",
"BeginWaitTimeTime": 1605178414676,
"NodeId": 37851,
"ModifyTime": 1605178414676,
"CreateUser": "Test"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.