RunManualDagNodes
Runs a manual workflow. Submit and deploy the manual workflow in the target environment so that it appears in Operation Center before you call this operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectEnv |
string |
Yes |
The environment identifier in Operation Center. PROD indicates the production environment, and DEV indicates the development environment. Valid values:
|
PROD |
| ProjectName |
string |
Yes |
The English name of the workspace to which the manual workflow belongs. |
test_workspace |
| FlowName |
string |
Yes |
The name of the manual workflow. |
test_workflow |
| BizDate |
string |
No |
The business date. The value must be earlier than or equal to the current date minus one day. For example, if today is November 11, 2020, the business date must be 00:00:00 on November 10, 2020 or earlier. The hour, minute, and second values of the business date must all be set to 00. You can specify either this parameter or the combination of the StartBizDate and EndBizDate parameters. Format: |
2020-11-11 00:00:00 |
| NodeParameters |
string |
No |
The node parameters passed when the manual workflow is executed. These parameters correspond to the scheduling parameters configured in the properties of the nodes in the manual workflow. The value is a JSON string in the following format: { " |
{"20000123121": "key1=val2 key2=val2", "20000123124": "kkkk=vvvvv aaaa=bbbb"} |
| DagParameters |
string |
No |
The parameters that are synchronized to all instances in the current DAG. If the scheduling parameters of an internal node (supported node types) reference the business flow parameters in DagParameters, the corresponding parameter values of the node are replaced with the business flow parameters in DagParameters. |
{"kaaaa": "vaaaaa", "kbbbb": "vbbbbb"} |
| IncludeNodeIds |
string |
No |
The IDs of the nodes to be run in the manual workflow. Separate multiple node IDs with commas (,). |
74324,74325 |
| ExcludeNodeIds |
string |
No |
The IDs of the nodes that do not need to be run in the business flow. When the specified nodes are run, dry-run instances are generated. After a dry-run instance is scheduled, it directly succeeds without executing the script content. Separate multiple node IDs with commas (,). The ExcludeNodeIds parameter takes effect only when it is used together with the IncludeNodeIds parameter. |
123,456 |
| ProjectId |
integer |
No |
The ID of the project. |
123 |
| StartBizDate |
string |
No |
The start business date. Format: yyyy-MM-dd HH:mm:ss. This parameter must be used together with the EndBizDate parameter. You can specify either this parameter combination or the BizDate parameter. |
2020-02-02 00:00:00 |
| EndBizDate |
string |
No |
The end business date. Format: yyyy-MM-dd HH:mm:ss. This parameter must be used together with the StartBizDate parameter. You can specify either this parameter combination or the BizDate parameter. |
2020-02-03 00:00:00 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response structure. |
||
| DagId |
integer |
The instance ID of the DAG for the manual workflow. You can use the API operation and this DAG ID to query the details and status of the internal node instances for this execution of the manual workflow. |
700000123123141 |
| RequestId |
string |
The unique ID of the request. |
AASFDFSDFG-DFSDF-DFSDFD-SDFSDF |
Examples
Success response
JSON format
{
"DagId": 700000123123141,
"RequestId": "AASFDFSDFG-DFSDF-DFSDFD-SDFSDF"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.