CreateManualDag
Triggers the execution of a manual workflow. The manual workflow must be submitted and deployed in the console and available in Operation Center before you can call this operation.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectEnv |
string |
Yes |
The environment identifier in Operation Center. A value of PROD indicates the production environment, and a value of 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 |
Yes |
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 of the business date must all be set to 00. Format: |
2020-11-11 00:00:00 |
| NodeParameters |
string |
No |
The node parameters passed during the execution of 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 workflow parameters. These parameters are synchronized to all instances in the current DAG. If the scheduling parameters of an internal node reference the workflow parameters in DagParameters, the corresponding parameter values of the node are replaced with the workflow parameters in DagParameters. |
{"kaaaa": "vaaaaa", "kbbbb": "vbbbbb"} |
| IncludeNodeIds |
string |
No |
The IDs of the nodes to run. |
74324,74325 |
| ExcludeNodeIds |
string |
No |
The IDs of the nodes to exclude. |
123,456 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response entity. |
||
| DagId |
integer |
The instance ID of the DAG for the manual workflow execution. You can use the API operation and this DAG ID to query the details and status of the internal node instances in this execution. |
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.