All Products
Search
Document Center

DataWorks:RunCycleDagNodes

Last Updated:Nov 03, 2026

Creates a backfill workflow.

Operation description

For more information about data backfill, see Backfill data.

This operation is supported in DataWorks Basic Edition or a higher edition.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

dataworks:*

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

ProjectEnv

string

Yes

The workspace environment. Valid values: PROD for the production environment and DEV for the development environment.

Valid values:

  • PROD :

    The production environment.

  • DEV :

    The development environment.

PROD

StartBizDate

string

Yes

The start business date for data backfill. Specify the time in the yyyy-MM-dd 00:00:00 format.

2020-05-20 00:00:00

Name

string

Yes

The name of the workflow.

xm_test

RootNodeId

integer

Yes

The ID of the start node for data backfill. You can call the ListNodes operation to obtain the node ID.

1234

ExcludeNodeIds

string

No

The IDs of the nodes that do not require data backfill. Dry-run instances are generated for the nodes in this list. After a dry-run instance is scheduled, it directly succeeds without executing the script content.

1234,123465

BizBeginTime

string

No

The start time of the task. This parameter is required only for tasks scheduled by hour. Specify the time in the HH:mm:ss format. Valid values: 00:00:00 to 23:59:59.

00:00:00

BizEndTime

string

No

The end time of the task. This parameter is required only for tasks scheduled by hour. Specify the time in the HH:mm:ss format. Valid values: 00:00:00 to 23:59:59.

01:00:00

Parallelism

boolean

Yes

Specifies whether tasks for multiple business dates can run in parallel.

false

EndBizDate

string

Yes

The end business date for data backfill. Specify the time in the yyyy-MM-dd 00:00:00 format.

2020-05-21 00:00:00

NodeParams

string

No

The node parameters configured as a JSON string. The key is the node ID, and the value is the actual value of the parameter.

{"74324":"a=123 b=456"}

IncludeNodeIds

string

Yes

The IDs of the nodes for data backfill. If you backfill data for multiple nodes, separate the node IDs with commas (,). You can call the ListNodes operation to obtain the node IDs.

74324,74325

StartFutureInstanceImmediately

boolean

No

Specifies whether to immediately run instances whose scheduled time is later than the current time. If this parameter is set to true, these instances run immediately. Otherwise, they wait until their scheduled time.

false

ConcurrentRuns

integer

No

The number of tasks that can run in parallel. Valid values: 2 to 10.

5

AlertType

string

No

The alert type. Valid values:

  • SUCCESS: Alerts on success.

  • FAILURE: Alerts on failure.

  • SUCCESS_FAILURE: Alerts on both success and failure.

Valid values:

  • SUCCESS :

    Alerts on success.

  • SUCCESS_FAILURE :

    Alerts on both success and failure.

  • FAILURE :

    Alerts on failure.

FAILURE

AlertNoticeType

string

No

The alert notification method. Valid values:

  • SMS: Text message.

  • MAIL: Email.

  • SMS_MAIL: Text message and email.

Valid values:

  • MAIL :

    Email.

  • SMS :

    Text message.

  • SMS_MAIL :

    Text message and email.

SMS

Response elements

Element

Type

Description

Example

object

The response entity.

HttpStatusCode

integer

The HTTP status code.

200

RequestId

string

The request ID. You can use the ID to locate logs and troubleshoot issues.

>E6F0DBDD-5AD****

ErrorMessage

string

The error message.

The connection does not exist.

Success

boolean

Indicates whether the call was successful.

true

ErrorCode

string

The error code.

Invalid.Tenant.ConnectionNotExists

Data

array

The DAG ID returned for data backfill for a scheduled task. You can use the DAG ID to query the corresponding instances.

integer

The list of workflow IDs.

111

Examples

Success response

JSON format

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

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.