Auto triggered tasks are automatically run as scheduled after they are committed to the scheduling system. You can view the list of auto triggered tasks in the current workspace, view the configurations of auto triggered tasks that are deployed in the production environment, and manage auto triggered tasks on the Auto Triggered Nodes page in Operation Center.
Background information
For information about how to create, deploy, run, or undeploy an auto triggered task, or suspend the scheduling of an auto triggered task, see Perform basic O&M operations on auto triggered tasks.
DataWorks automatically generates auto triggered instances that are scheduled to run on the next day for an auto triggered task every night. An auto triggered task can be manually triggered to enable the system to generate a data backfill instance or a test instance for the task. You can obtain the running details of the auto triggered task by viewing the generated instance.
Limits
Only users of DataWorks Professional Edition or a more advanced edition can use the aggregation, upstream analysis, and downstream analysis features provided by directed acyclic graphs (DAGs). For information about billing rules for upgrading the edition of the DataWorks service, see Billing of DataWorks editions.
Precautions
Do not freeze the projectname_root task, which is the root task of your workspace. All the instances of auto triggered tasks depend on this task. If this task is frozen, the instances of auto triggered tasks cannot be run.
After you modify an auto triggered task, you must deploy the task. After the task is successfully deployed, the modification takes effect in the production environment. You may encounter the following unexpected situations when you deploy the auto triggered task: The task fails to be deployed, the deployment process is blocked, or the version of the deployed task does not meet your expectations. In these cases, we recommend that you go to the Auto Triggered Nodes page in Operation Center to troubleshoot issues.
Go to the Auto Triggered Nodes page
Log on to the DataWorks console. In the top navigation bar, select the desired region. In the left-side navigation pane, choose . On the page that appears, select the desired workspace from the drop-down list and click Go to Operation Center.
In the left-side navigation pane of the Operation Center page, choose . On the Auto Triggered Nodes page, view the list of auto triggered tasks or the DAG of an auto triggered task.
View the list of auto triggered tasks
On the Auto Triggered Nodes page, you can view the list of auto triggered tasks that you commit to the scheduling system and perform O&M operations on the tasks.
Operation item | Description |
Filter | In the area marked with 1 in the preceding figure, you can specify conditions to search for your desired auto triggered task. You can search for your desired auto triggered task by task name or task ID. You can also specify the following conditions to search for your desired auto triggered task: Node Type, Owner, Scheduling Resource Group, Region, Solution, Label, Workflow, Data Source Type, Data Source Name, Baseline, Priority, Scheduling Cycle, and Workflow. Note
|
List of auto triggered tasks | In the area marked with 2 in the preceding figure, you can view the auto triggered tasks that meet the specified conditions. |
Operations on a single task | In the area marked with 3 in the preceding figure, you can perform operations on an auto triggered task.
|
Batch operations | In the area marked with 4 in the preceding figure, you can perform an operation on multiple auto triggered tasks at a time. You can select multiple auto triggered tasks and click the following buttons to perform operations on the tasks at a time: Freeze, Unfreeze, Change Owner, and Modify Scheduling Resource Group. You can also select multiple auto triggered tasks, click Actions, and then select an option from the shortcut menu to perform the corresponding operation on the tasks at a time. |
Items per page | In the area marked with 5 in the preceding figure, you can select the number of items that you want to view on a single page. The maximum number that you can select is 200. |
View the DAG of an auto triggered task
In the list of auto triggered tasks, click the name of an auto triggered task in the Name column or click DAG in the Actions column of the task. On the DAG page, the system automatically displays the level-1 ancestor tasks and level-1 descendant tasks of the task. You can view the other ancestor and descendant tasks of the current task by clicking the icons for the node aggregation and descendant task analysis features in the upper-left corner of the DAG page. You can also right-click the task to perform related operations.
Functionality | Description |
Operations that you can perform on the DAG page | You can use the task aggregation and descendant task analysis features and adjust the display style of the DAG of a task by clicking icons in the areas marked with 1 in the preceding figure. For more information, see Appendix: Use the features provided in a DAG.
|
Operations on a single node | You can perform related operations on an auto triggered task in the DAG of the task by selecting options in the area marked with 2 in the preceding figure.
Note For information about other operations, see View the list of auto triggered tasks. |
Details about a single task | You can view the basic properties of an auto triggered task in the area marked with 3 in the preceding figure. You can also click Show Details in this area to view the detailed properties, context parameters, operation logs, and code of the task. For more information, see View the details of an auto triggered task. |
View the details of an auto triggered task
After you click Show Details in the lower-right corner of the DAG page of an auto triggered task, multiple tabs appear. On these tabs, you can view various properties of the auto triggered task in the production environment and check whether the code of the task meets your expectations. The properties include scheduling parameters and the resource group that are configured for the auto triggered task.
Tab | Description |
General | On this tab, you can view the scheduling properties of an auto triggered task in the production environment. For more information about the basic parameters, see Configure basic properties. Note If the parameter configurations for an auto triggered task on the DataStudio page are inconsistent with those for the task on the Auto Triggered Tasks page in Operation Center, we recommend that you check whether you successfully deploy the task after you modify the task.
|
Context Parameters | In this section, you can view the input parameters and output parameters of an auto triggered task. For more information, see Configure input and output parameters. |
Operation Log | On this tab, you can view operation records of an auto triggered task, including the operation time, operator, and specific operations. |
Code | On this tab, you can view the latest code of an auto triggered task in the production environment. If the code of the task does not meet expectations, you need to confirm whether the latest code of the task is successfully deployed to the production environment. For more information, see Deploy tasks. |