Skip to content

Concepts

Understanding these six concepts is enough to use wf effectively for any workflow.

Concept Summary
DAG Execution Model How tasks are ordered, how levels work, how cycles are detected
Execution Modes Sequential, level-parallel, and work-stealing — when to use each
Variables & Interpolation register, {{.var}} syntax, if conditions, runtime --var
Matrix Expansion Fan a single task definition out over a parameter grid
Forensic Tasks & Failure Handling on_failure, compensating transactions, the Saga pattern
Resume How failed runs are resumed, variable restoration, skip logic