The ID of the directed acyclic graph (DAG). You can set this parameter to the value of the DagId parameter returned by the \[RunCycleDagNodes]\(~~212961~~), \[RunSmokeTest]\(~~212949~~), or \[RunManualDagNodes]\(~~212830~~) operation based on your business requirements. The RunManualDagNodes operation is used to backfill data, the RunSmokeTest operation is used to perform smoke testing, and the RunManualDagNodes operation is used to run nodes in a manually triggered workflow.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
dataworks:* | list | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectEnv | string | Yes | The time when the node was last modified. Enumeration Value:
| PROD |
NodeId | long | Yes | Indicates whether the instance is associated with a monitoring rule in Data Quality. Valid values:
| 100000000000 |
NodeName | string | No | Indicates whether the node can be rerun. | openmr_8**** |
Owner | string | No | The connection string. | 193379**** |
ProjectId | long | Yes | The ID of the baseline. | 12345 |
BizName | string | No | The ID of the instance. | test_bizName |
ProgramType | string | No | The error code returned. | ODPS_SQL |
PageNumber | integer | No | The operation that you want to perform. | 1 |
PageSize | integer | No | The ID of the node. | 10 |
DagId | long | No | The environment of the workspace. Valid values: PROD and DEV. The value PROD indicates the production environment. The value DEV indicates the development environment. | 11111 |
Bizdate | string | No | The number of entries returned per page. Default value: 10. Maximum value: 100. | 2020-02-02 00:00:00 |
BeginBizdate | string | No | The parameters related to the node. | 2020-02-02 00:00:00 |
EndBizdate | string | No | The ID of the workflow. | 2020-02-03 00:00:00 |
Status | string | No | The time when the instance started to wait to be scheduled. Enumeration Value:
| NOT_RUN |
Response parameters
Examples
Sample success responses
JSON
format
{
"HttpStatusCode": 200,
"RequestId": "E6F0DBDD-5AD****",
"ErrorMessage": "The project does not exist.",
"ErrorCode": "Invalid.Tenant.ProjectNotExists",
"Success": true,
"Data": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 66,
"Instances": [
{
"Status": "NOT_RUN",
"CycTime": 1590422400000,
"BeginRunningTime": 1590416703313,
"FinishTime": 1590416703313,
"ErrorMessage": "error message",
"CreateTime": 1590416703313,
"DagId": 33845,
"Priority": 1,
"TaskType": "NORMAL(0)",
"ParamValues": "bizdate=$bizdate tbods=$tbods",
"Connection": "odps_first",
"BaselineId": 123123,
"DqcType": 1,
"DagType": "DAILY",
"BusinessId": 123,
"TaskRerunTime": 0,
"ModifyTime": 1590416703313,
"Repeatability": true,
"RepeatInterval": 60000,
"InstanceId": 1234,
"BeginWaitResTime": 1590416703313,
"RelatedFlowId": 123456,
"Bizdate": 1590336000000,
"NodeName": "kzh",
"BeginWaitTimeTime": 1590416703313,
"DqcDescription": "[{\"projectName\":\"ztjy_dim\",\"tableName\":\"dim_user_agent_manage_area_a\",\"partition\":\"ds\\u003d$[yyyy-mm-dd-1]\"}]",
"NodeId": 33115,
"CreateUser": "Test"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-12-07 | The request parameters of the API has changed | View Change Details |