After you configure or modify a task flow, you must publish the latest task flow. This effectively prevents the modified task flow from being published before the modifications to the task flow are confirmed.

Procedure

  1. Log on to the DMS console V5.0.
    Note To switch to the previous version of the DMS console, click the 5租户头像 icon in the lower-right corner of the page. For more information, see Switch to the previous version of the DMS console.
  2. Click the name of the task flow that you want to manage to go to the task flow editing tab.
  3. Optional:Test the running of the task flow.
    1. In the left-corner of the canvas, click Try Run.
      To test the running of the task flow, you can also click the Show icon icon to the right side of Try Run and select the following options:
      • Run at a Specific Point in Time: In the Run at a Specific Point in Time dialog box, set the Business Date parameter and click OK.
      • Run at a Specific Time Range In the Run at a Specific Time Range dialog box, set the Business Date and Scheduling Cycle parameters and click OK.
    2. In the Alert message, click OK.
    3. In the lower part of the canvas, click the Execution Logs tab to check whether the task flow is successfully run.
      • If status SUCCEEDED appears in the last line of the logs, the task flow is successfully run.
      • If status FAILED appears in the last line of the logs, the task flow fails to be run.
        Note If the task flow fails to be run, view the node on which the failure occurs and the reason for the failure in the logs. Then, modify the configuration of the node and try again.
  4. Publish the task flow.
    1. In the upper-left corner of the canvas, click Publish.
    2. In the Publish dialog box, set the Remarks parameter and click OK.
    Note If you no longer need to use the task flow, you can perform the following operations to unpublish the task flow:
    1. In the upper-left corner of the canvas, click Unpublish.
    2. In the message that appears, click OK.
  5. View the status of the task flow.
    1. In the upper-right corner of the canvas, click Go to O&M.
    2. On the right side of the page, check whether the task flow is published.
      • Published: The task flow is published.
      • Not published: The task flow is not published.