Condition Ref
A condition registered with a Dag: name the task each outcome runs.
dag.If(HasRows.class).Then(load).Else(reportEmpty);Content copied to clipboard
A named task runs after the condition, so naming it records that edge, as Deps.Flow.before would. The condition skips only the side not taken; what runs after both sides needs a trigger rule that tolerates one skipped upstream, such as none_failed_min_one_success.
See also
Functions
Link copied to clipboard
Runs the tasks here after each of previous, carrying no value.
Link copied to clipboard
Runs the tasks here before each of next, carrying no value.
Link copied to clipboard
Sets one task-level configuration value on the deciding task.
Link copied to clipboard
Names the task that runs when the condition does not hold. A condition needs no Else; without one, nothing is skipped when it holds.
Link copied to clipboard
Names the task that runs when the condition holds.