Data Management (DMS) provides the task orchestration feature that can be used to orchestrate and schedule tasks. You can use this feature to create a task flow that consists of one or more task nodes to simplify the scheduling of complex tasks. This improves data development efficiency.

Procedure

  1. Create a task flow.
    1. Log on to the DMS console.
      Note To switch to the previous version of the DMS console, click the Return to old version icon icon in the lower-right corner of the page. For more information, see Switch to the previous version of the DMS console.
    2. In the top navigation bar, click DTS. In the left-side navigation pane, choose Data Development > Task Orchestration.
      Note If you are using the previous version of the DMS console, move the pointer over the More icon in the top navigation bar and choose Data Factory > Task Orchestration (New).
    3. Click Create Task Flow.
      Note If you are using the previous version of the DMS console, click the Develop Space icon icon on the left-side navigation submenu of the Task Orchestration tab. On the page that appears, click New Task Flow.
    4. In the New Task Flow dialog box, set the Task Flow Name and Description parameters as required and click OK.
  2. Configure a task node. In this example, an SQL Assignment for Single Instance node is used.
    Note
    1. From the node list on the left side of the task orchestration tab, drag the SQL Assignment for Single Instance node to the blank area of the canvas.
    2. Click the SQL Assignment for Single Instance node and configure the node. For more information, see Configure SQL assignment nodes.
    3. Optional:Connect the SQL Assignment for Single Instance node to its upstream or downstream node. Move the pointer over the upstream node, click and hold the circle on the right side of the upstream node, and then draw a line from the circle to the downstream node.
      For example, you want to connect the SQL Assignment for Single Instance node to its downstream node, which is a Conditional Branch node. To do this, move the pointer over the SQL Assignment for Single Instance node, click and hold the circle on the right side of the SQL Assignment for Single Instance node, and then draw a line from the circle to the Conditional Branch node.
  3. Click the blank area on the canvas to configure the task flow.
    1. On the Task Flow Information tab in the lower part of the task orchestration tab, set the Task Flow Name, Owner, Stakeholders, Error Handling Policy, and Concurrency Control Policy parameters as required in the Properties section.
    2. To schedule the task flow, turn on Enable Scheduling in the Scheduling Settings section of the Task Flow Information tab. For more information, see the Scheduling properties table in the Configure a task flow topic.
    Note To view the operation logs of the task flow, click the Operations tab.
  4. Publish the task flow. For more information, see Publish a task flow.