Skip to main content
Conditional sections are akin to ternary operators — they return the output of the branch result. However, they can be n-ary with as many elif clauses as desired. It is possible to consume the outputs from conditional nodes. And to pass in outputs from other tasks to conditional nodes. The boolean expressions in the condition use & and | as and / or operators. Additionally, binary expressions are not allowed. Thus if a task returns a boolean and we wish to use it in a condition of a conditional block, we must use built in truth checks: result.is_true() or result.is_false()