Dependent

Overview

Dependent nodes are dependency check nodes. For example, process A depends on the successful execution of process B from yesterday, and the dependent node will check whether process B run successful yesterday.

Create Task

  • Click Project Management -> Project Name -> Workflow Definition, and click the Create Workflow button to enter the DAG editing page.
  • Drag from the toolbar Dependent - 图1 task node to canvas.

Task Parameter

ParameterDescription
Node nameUnique name of node in workflow definition.
Run flagIdentifies whether this node schedules normally.
DescriptionDescribe the function of the node.
Task priorityWhen the number of worker threads is insufficient, execute in the order of priority from high to low, and tasks with the same priority will execute in a first-in first-out order.
Worker groupAssign tasks to the machines of the worker group to execute. If Default is selected, randomly select a worker machine for execution.
Task group nameThe group in Resources, if not configured, it will not be used.
Environment NameConfigure the environment name in which run the script.
Number of failed retriesThe number of times the task failed to resubmit.
Failed retry intervalThe time interval (unit minute) for resubmitting the task after a failed task.
Delayed execution timeThe time (unit minute) that a task delays in execution.
Pre taskSelecting a predecessor task for the current task, will set the selected predecessor task as upstream of the current task.

Task Examples

The Dependent node provides a logical judgment function, which can detect the execution of the dependent node according to the logic.

For example, process A is a weekly task, processes B and C are daily tasks, and task A requires tasks B and C to be successfully executed every day of the last week.

dependent_task01

And another example is that process A is a weekly report task, processes B and C are daily tasks, and task A requires tasks B or C to be successfully executed every day of the last week:

dependent_task02

If the weekly report A also needs to be executed successfully last Tuesday:

dependent_task03