All Products
Search
Document Center

Data Management:Configure event scheduling

Last Updated:Mar 13, 2025

This topic describes how to configure event scheduling for a task flow by using the task orchestration feature of Data Management (DMS).

Scenarios

If you want a task flow to be triggered by specific events, you can create an event scheduling policy for the task flow.

For example, you select Event Scheduling as the scheduling type of task flow C and add Single Instance SQL nodes in task flow A and task flow B as the events. In this case, the Single Instance SQL nodes in task flow A and task flow B are the upstream nodes of task flow C, and task flow C is executed only after task flow A and task flow B are successfully executed.

Procedure

  1. Log on to the DMS console V5.0.
  2. Go to the task flow page.

  3. In the lower part of the task flow page, click Task Flow Information. On the Task Flow Information tab, turn on Enable Scheduling in the Scheduling Settings section.

  4. Configure an event scheduling policy for the task flow.

    Set the Scheduling Type parameter to Event Scheduling and configure parameters. The following table describes the parameters.

    Parameter

    Description

    Timeout Period (Minutes)

    The maximum execution duration of all events. If this value is exceeded, the task flow fails to be executed by default.

    Monitor commissioning events

    By default, the switch is turned on.

    • If you turn on the switch, the test run of upstream task flows can generate an operation record for the current task flow.

    • If you turn off the switch, the event that is generated by the manually triggered upstream task flows does not trigger the current task flow.

    Event Scheduling Granularity

    You can select Day or Hour based on your business requirements.

  5. Add events.

    Click Add and configure the following parameters:

    • Event: You can select The task flow is executed successfully. and The task node is executed successfully. based on your business requirements.

    • Event Configuration: Select an existing task flow or an existing node in a task flow of the current tenant.

    Note
    • For the same event type, a task flow or a task node can be added only once.

    • The current task flow is executed only if all the events that you specify are successfully executed.

More operations

  • To view the number of upstream and downstream task flows, perform the following operations: After you configure an event scheduling policy for a task flow, move the pointer over the image.png icon in the upper-right corner of the task flow page and view the number of upstream and downstream task flows.

    image.png

  • To display the upstream and downstream task flows that are subscribed to the current task flow on the directed acyclic graph (DAG), turn on the switch to the right of the image.png icon.