All Products
Search
Document Center

Data Management:Manage task flow instances

Last Updated:Jun 20, 2026

This topic describes how to edit, run, unpublish a task flow, and view its publishing history.

Edit task flow information

Only the owner of a task flow can edit it.

  1. On the task flow editing page, click Go to O&M in the upper-right corner.

  2. On the Task flow information page, click Go to Edit.

  3. At the bottom of the task flow details page, select a tab to edit the corresponding information.

    • On the Task flow information tab, configure properties such as the task flow name, owner, stakeholders, and scheduling configuration. For more information, see Configure basic properties, Configure timed scheduling, and Configure event scheduling.

    • On the Variable configuration tab, configure task flow variables (time variables) and task flow constants. For more information about configuring variables, see Variables.

      Note

      You can use them in all task nodes within this task flow using the ${name} format.

    • On the Notification configuration tab, configure basic success and failure notifications, timeout notifications for task nodes or the task flow, and alert notifications.

    • On the Operation history tab, view changes to the task flow, including who made them, when, and what they were.

    • On the Execution log tab, view the execution log for each task node.

Run a task flow

At the top of the task flow editing page, select a run mode based on your needs.

Run modes

  • Try run

    Run the task flow immediately, using the current time.

  • Dry run

    If task flow A depends on task flow B but you do not need to run B, you can perform a dry run on B. This action generates a scheduling record, allowing the tasks in A to execute normally.

  • Run at a specific point in time

    To use this mode, define a task flow variable (a time variable) and reference it in SQL. The system calculates the final variable time by applying an offset to the specified business date. This lets you run tasks for a specified time without changing SQL or other configurations.

  • Run over a specific time range

    This mode also requires defining multiple task flow variables (time variables). You can run a maximum of 50 node instances at a time.

    For example, if the scheduling cycle is one day, a task flow instance can run for a maximum of 50 days.

    Note

    In this mode, tasks run serially: the tasks for one business date must succeed before the tasks for the next can run.

Publish or unpublish a task flow

For details, see Publish or unpublish a task flow.

Version differences

Before publishing a task flow that has changes, you can click Display differences in the publish dialog box to compare the draft with the most recently published version.

In the Version comparison dialog box, the left navigation pane groups items into task flow properties (including basic properties, scheduling configuration, task flow variables, and task flow constants) and task nodes (including new, deleted, and modified nodes). The main area displays a row-by-row comparison of Type, Old value, and Current value. A green background indicates additions or modifications, and a pink background indicates deletions. You can select the Only show differences checkbox to filter the results.

Note

In the version comparison view, a red dot indicates a modified item.

Checking for modifications

On the task flow page, hover your pointer over the Publish area. If the description The task flow has been modified. It must be republished to take effect. appears, this indicates that the task flow has been modified.

Publishing history

On the Task flow information page, you can view the publishing history of the task flow.

Note

You can view up to 10 of the most recent publishing records.

You can also perform the following operations on the task flow:

  • DAG: View the task flow's Directed Acyclic Graph (DAG).

  • Backfill data: Generate one or more task flow instances for a specific business date or date range, based on a published version.

  • Rollback: Restore all task flow information, including task nodes and configurations, to a selected version.

    Note

    After a rollback, you must publish the task flow again for the change to take effect.

  • Export: Export the configuration files of the edges and task nodes for a specific version.

If a task flow has multiple published versions, you can select two of them and click Version comparison to view the differences.

Run history

Click Go to O&M in the upper-right corner of the target task flow page to go to the O&M page. On the Run History tab, you can view detailed information about task flows triggered by Scheduled Trigger and Manual Trigger, including the operation time and operator. You can also set failed task flows to success, resume, or rerun them, and suspend or terminate running task flows.