CreateManualDag

Updated at:

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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 :

    The production environment.

  • DEV :

    The development environment.

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: yyyy-MM-dd HH:mm:ss. Example: 2020-11-11 00:00:00.

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: { "<ID of a node in the manual workflow>": "The scheduling parameters of the node, which must be in the same format as the parameters in the scheduling configuration of Data Studio", "<ID of a node in the manual workflow>": "The scheduling parameters of the node, which must be in the same format as the parameters in the scheduling configuration of Data Studio" }

{"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.