- In the Execution Plan list, select the plan to which you want to add tasks.
Click Root: please configure this node in the right
The Edit planned task panel opens.
To define multiple tasks for parallel execution at the root node, select the
Use parallel execution check box.
The configuration options for parallel execution appear.
Click the Add Task button repeatedly to add as many task
selection lists as needed, and select the desired tasks from the lists.
Note that the same task cannot be added several times in the same node for parallel execution.
Select the number of tasks for parallel execution from the Simultaneous exec. list, MAX chosen here to run all the selected tasks in
- MAX means all the selected tasks will be executed simultaneously.
- If N tasks are defined for parallel execution, the list also offers the options of 1~N. This means, you can choose 1 to run one task at a time, x (an integer between 1~N) to run x tasks at a time, or N to run all the tasks at a time, thus achieving flexible resource allocation for better performance.
- A task defined for parallel execution cannot have the sub-nodes such as OnOk, OnError or After.
After the root node has been configured, click Root >
(Simultaneous exec.: MAX) to add child nodes: OnOk, OnError and
To do so, click the buttons in the Planned task tree view panel.
add a child task that will be launched if the parent task finalizes without error.
add a child task that will be launched if the parent task finalizes with error.
add a child task that will be launched after the parent task finalizes, regardless of its error status.Note: OnOk and OnError can coexist as child nodes but neither of them can exist with After as child nodes.
Click Add OnOk to add an OnOk node first.
The task selection panel appears on the right.
- Select a task from the Task list and click Save.
Click OnOk > Task: "Third_Task" and then the
Add OnError button to add a child
Select a task from the Task list and click Save.
Click Root > (Simultaneous exec.: MAX) and
then the Add OnError button to add an OnError child node for the root. Then select a task
for this node.
Add an After child node for this OnError child node as instructed above. Then select a task for this node.