Manage manually triggered tasks

更新时间:
复制 MD 格式

After you publish a manually triggered task, manually triggered workflow, or event-driven workflow to the production environment, you can view and manage them in a list or a DAG.

Note

Prerequisites

A manually triggered task, manually triggered workflow, or event-driven workflow must be published to the production environment.

Manually triggered tasks page

  1. Log on to the DataWorks console. In the top navigation bar, select the desired region. In the left-side navigation pane, choose Data Development and O&M > Operation Center. On the page that appears, select the desired workspace from the drop-down list and click Go to Operation Center.

  2. In the left-side navigation pane, click Manually Triggered Task O&M > Manually Triggered Node.

Manage tasks

You can view and manage manually triggered tasks, event-driven workflows, and manually triggered workflows.

Manage manually triggered tasks

On the Manually Triggered Node tab, you can filter and view information about manually triggered tasks by criteria such as Node Name, Task type, and Scheduling Resource Group.

Actions

Description

DAG

Click DAG in the Operation column to open the task's DAG. For details on viewing the code, lineage, and other information, see Manage task DAGs.

Run

Click Run in the Operation column. Configure the parameters in the dialog box and click OK to run the manually triggered task. This creates a Manually Triggered Node Instance.

  • Data Timestamp: You can select one or more ranges of data timestamps, including dates in the past or future.

    Note

    If you select multiple data timestamps, the system sequentially runs the instances in chronological order.

  • Order: You can run the tasks in chronological or reverse chronological order of the data timestamps.

View Instances

Click View Instances in the Operation column to view the run results of the task on the Manually Triggered Node Instance tab of the Manually Triggered Node Instance page.

More

Click More in the Operation column for more operations, such as Change Owner, Modify Scheduling Resource Group, and Undeploy.

Batch Operation

You can select multiple manually triggered tasks to perform batch operations, such as Modify Scheduling Resource Group and Undeploy.

Manage event-driven workflows

On the Triggered Workflow tab, you can filter and view information about event-driven workflows by criteria such as Node Name and trigger.

Actions

Description

DAG

Click DAG in the Operation column to open the workflow's DAG. For details on viewing the code, lineage, and other information, see Manage task DAGs.

Run

Click Run in the Operation column. Configure the parameters in the dialog box and click Run to run the event-driven workflow. This creates an Triggered Workflow Instance.

  • Data Timestamp: You can select one or more ranges of data timestamps, including dates in the past or future.

    Note

    If you select multiple data timestamps, the system sequentially runs the instances in chronological order.

  • Running Policy: You can configure alert settings for the workflow.

  • Order: You can run the workflows in chronological or reverse chronological order of the data timestamps.

View Instances

Click View Instances in the Operation column to view the workflow's run results on the Triggered Workflow Instance tab of the Manually Triggered Node Instance page.

More

Click More in the Operation column for operations such as Change Owner and Undeploy.

Batch Operation

You can select multiple event-driven workflows to perform batch operations, such as Modify Scheduling Resource Group and Undeploy.

Manage manually triggered workflows

On the Manually Triggered Workflow tab, you can filter and view information about manually triggered workflows by criteria such as Node Name, Label, Mine, and Modified on Current Day.

Actions

Description

DAG

Click DAG in the Operation column to open the workflow's DAG. For details on viewing the code, lineage, and other information, see Manage task DAGs.

Run

Click Run in the Operation column. Configure the parameters in the dialog box and click Run to run the manually triggered workflow. This creates a Manual Workflow Instance.

  • Range: You can choose to run the entire workflow or only specific nodes.

  • Data Timestamp: You can select one or more ranges of data timestamps, including dates in the past or future.

    Note

    If you select multiple data timestamps, the system sequentially runs the instances in chronological order.

  • Workflow Parameters: If you used workflow parameters during development, you must assign values to them before running the workflow. For more information, see Use workflow parameters.

  • Order: You can run the workflows in chronological or reverse chronological order of the data timestamps.

Note

In list view, the entire manually triggered workflow is run. Nodes with dependencies run sequentially based on their dependency order, while nodes without dependencies run concurrently.

View Instances

Click View Instances in the Operation column to view the workflow's run results on the Manual Workflow Instance tab of the Manually Triggered Node Instance page.

More

Click More in the Operation column for more operations, such as Change Owner, Modify Scheduling Resource Group, and Undeploy Manually Triggered Workflow.

Batch Operation

You can select multiple manually triggered workflows to perform batch operations, such as Modify Scheduling Resource Group and Undeploy Manually Triggered Workflow.

Manage task DAGs

Click the business process name or DAG in the Actions column to open the DAG for the current business process. In the DAG, you can right-click a business process to perform related operations.

Actions

Description

View Code

View the code of the current node.

Edit Node

Click this option to go to the DataStudio page to edit the node.

View Instances

Opens the Manually Triggered Node Instance page to display information about the generated instance.

View Lineage

View the task lineage diagram.

Modify Scheduling Resource Group

Allows you to modify the scheduling resource group for the current task or workflow.

Note

Only manually triggered tasks and manually triggered workflows support this operation.