GetManualDagInstances
Queries information about instances of a manually executed business flow.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectEnv |
string |
Yes |
The environment identifier of the Operation Center. Valid values: PROD (production environment) and DEV (development environment). Valid values:
|
RPOD |
| ProjectName |
string |
Yes |
The name of the workspace to which the manual workflow belongs. You can obtain the name on the workspace configuration page in the DataWorks console. |
test_workspace |
| DagId |
string |
Yes |
Instance ID of the DAG instance that triggers the manual workflow. You can call the CreateManualDag operation to obtain instance ID. |
7000001231241 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response entity. |
||
| RequestId |
string |
The unique ID of the request. |
SDFSDFSDF-SDFSDF-SDFDSF-SDFSDF |
| Instances |
array<object> |
The list of internal instances of the manual workflow. |
|
|
object |
The response entity. |
||
| Status |
string |
The status of the instance node. Valid values:
|
WAIT_TIME |
| BeginRunningTime |
integer |
The time when the instance node started to run. The value is a 13-digit number, for example, |
1605178414676 |
| BizDate |
integer |
The business date. This is typically the day before the node runs. The value is a 13-digit number, for example, |
1605178414676 |
| CycTime |
integer |
The scheduled time of the instance node. The value is a 13-digit number, for example, |
1605178414676 |
| FinishTime |
integer |
The time when the instance node finished running. The value is a 13-digit number, for example, |
1605178414676 |
| CreateTime |
integer |
The time when the instance node was created. The value is a 13-digit number, for example, |
1605178414676 |
| DagId |
integer |
The DAG ID of the manual workflow instance. |
350850491 |
| InstanceId |
integer |
The internal instance ID. |
11726873619 |
| BeginWaitResTime |
integer |
The time when the instance node started to wait for resources. The value is a 13-digit number, for example, |
1605178414676 |
| TaskType |
string |
The scheduling type of the instance node. Valid values:
|
NORMAL(0) |
| ParamValues |
string |
The parameter information of the instance. |
xxx |
| DagType |
string |
The type of the manual workflow. |
5 |
| NodeName |
string |
The node name. |
test2 |
| BeginWaitTimeTime |
integer |
The time when the instance node started to wait for scheduling. The value is a 13-digit number, for example, |
1605178414676 |
| NodeId |
integer |
The internal node ID of the workflow. |
37851 |
| ModifyTime |
integer |
The most recent modification time of the instance node. The value is a 13-digit number, for example, |
1605178414676 |
| CreateUser |
string |
The operator. |
xxx |
Examples
Success response
JSON format
{
"RequestId": "SDFSDFSDF-SDFSDF-SDFDSF-SDFSDF",
"Instances": [
{
"Status": "WAIT_TIME",
"BeginRunningTime": 1605178414676,
"BizDate": 1605178414676,
"CycTime": 1605178414676,
"FinishTime": 1605178414676,
"CreateTime": 1605178414676,
"DagId": 350850491,
"InstanceId": 11726873619,
"BeginWaitResTime": 1605178414676,
"TaskType": "NORMAL(0)",
"ParamValues": "xxx",
"DagType": "5",
"NodeName": "test2",
"BeginWaitTimeTime": 1605178414676,
"NodeId": 37851,
"ModifyTime": 1605178414676,
"CreateUser": "xxx"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.