sark
05/10/2021, 6:53 AMemre
05/10/2021, 7:18 AMa
if the condition doesn't match. Skipping is propagated to downstream tasks, so skipping a
skips b
, which skips c
. This means you can keep your tasks seperate, and still have a group of tasks execute conditionally.emre
05/10/2021, 7:20 AMwith Flow("f") as f:
true_tasks = f(e(d()))
false_tasks = c(b(a()))
ifelse(cond(), true_tasks, false_tasks)
merge(true_tasks, false_tasks)