Creates a workflow to generate retroactive data.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample code.

Request parameters

Prameter Date type Required Sample response Description
Action String Yes. CreateDagComplement

The operation that you want to perform.

StartBizDate String Yes. 2020-05-20 00:00:00

The start date-based timestamp of the retroactive data generation task.

EndBizDate String Yes. 2020-05-21 00:00:00

The end date of the retroactive data generation task.

RootNodeId Long Yes. 1234

The ID of the start node for retroactive data generation.

IncludeNodeIds String Yes. 74324,74325

The IDs of nodes. If you want to population the data of one node, the node data must be in the includeNodeIds file.

Name String Yes. xm_test

The name of the workflow.

Parallelism Boolean Yes. false

Indicates whether the execution is allowed concurrently.

ProjectEnv String Yes. PROD

The environment of the workspace, including projects in PROD and DEV.

RegionId String Yes. cn-shanghai

Region information, which is usually the region where the service is located. For example, China (Shanghai) is cn-shanghai, and China (Zhangjiakou) is cn-zhangjiakou. You do not need to specify the RegionId because it is automatically resolved based on the endpoint that is called.

ExcludeNodeIds String Yes 1234

Optional. The IDs of nodes for which you do not need to generate retroactive data.

BizBeginTime String Yes 00:00:00

Optional. The start time of the task. You must specify this parameter for hourly scheduled tasks.

BizEndTime String Yes 23:00:00

Optional. The time when the task ends. This parameter is required when tasks are scheduled by hour.

NodeParams String Yes {74324:"key1=val1 key2=val"}

Input a json string. The Key is the node ID, and the Value is the actual Value of the parameter.

Response parameters

Parameter Date type Sample response Description
Data List 111

List of workflow IDs.

ErrorCode String Invalid.Tenant.ConnectionNotExists

The error code.

ErrorMessage String The connection does not exist.

The error message of the failure.

HttpStatusCode Integer 200

The HTTP status code.

RequestId String E6F0DBDD-5AD****

The ID of the request. It is used to locate logs and troubleshoot problems.

Success Boolean true

Indicates whether the request was successful.


Sample request

&StartBizDate=2020-05-20 00:00:00
&EndBizDate=2020-05-21 00:00:00
&ExcludeNodeIds= 1234
&<common request parameters>

Sample success responses

XML format

<ErrorMessage>The connection does not exist.</ErrorMessage>


    "RequestId": "E6F0DBDD-5AD****",
    "HttpStatusCode": 200,
    "Data": 111,
    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
    "ErrorMessage": "The connection does not exist.",
    "Success": true

Error codes

For more information about error codes, see error center.