Conditional syntax controls whether a workflow step executes by evaluating a condition in Argo Workflows’ when clause. A preceding step produces a result, and dependent steps branch from that value. section 8.4.1
Coin-flip branching
A flip-coin script prints either heads or tails. The heads step runs only when its condition matches the output; otherwise, the tails step runs. The completed workflow contains the flip-coin Pod and the selected branch Pod. section 8.4.1
