ListManualDagInstances
Queries the information about instances in a manually executed business flow.
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 of Operation Center. PROD specifies production, and DEV specifies development. Valid values:
|
RPOD |
| ProjectName |
string |
Yes |
The name of the workspace to which the manually executed business flow belongs. You can log on to the DataWorks console and go to the Workspace page to obtain the name. |
test_workspace |
| DagId |
string |
Yes |
The ID of the directed acyclic graph (DAG) for the manually executed business flow. You can call the RunManualDagNodes operation to obtain the ID. |
7000001231241 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
SDFSDFSDF-SDFSDF-SDFDSF-SDFSDF |
| Instances |
array<object> |
The instances in the manually executed business flow. |
|
|
object |
The returned data. |
||
| Status |
string |
The status of the instance. Valid values:
|
SUCCESS |
| BeginRunningTime |
integer |
The time when the instance started to run. |
1605178414676 |
| BizDate |
integer |
The business date of the instance. In most cases, the value is one day before the time when the instance was run. |
1605178414676 |
| CycTime |
integer |
The time when the instance was scheduled to run. |
1605178414676 |
| FinishTime |
integer |
The time when the instance finished running. |
1605178414676 |
| CreateTime |
integer |
The time when the instance was generated. |
1605178414676 |
| DagId |
integer |
The ID of the DAG for the instance in the manually executed business flow. |
350850491 |
| InstanceId |
integer |
The instance ID. |
11726873619 |
| BeginWaitResTime |
integer |
The time when the instance started to wait for resources. |
1605178414676 |
| TaskType |
string |
The scheduling type of the instance task. Valid values:
|
MANUAL |
| ParamValues |
string |
The parameters related to the instance. |
xxx=yyy |
| DagType |
string |
The type of the manually executed business flow. |
5 |
| NodeName |
string |
The name of the node. |
test2 |
| BeginWaitTimeTime |
integer |
The time when the instance started to wait to be scheduled. |
1605178414676 |
| NodeId |
integer |
The ID of the node in the manually executed business flow. |
37851 |
| ModifyTime |
integer |
The time when the instance was last modified. |
1605178414676 |
| CreateUser |
string |
The name of the account that is used to run the instance. For example, if you use an account named Test to run the instance, the value of this parameter 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.