Example DAG patterns
End-to-end Workflow examples for common orchestration patterns.
Use this page for complete Workflow manifests and common DAG patterns.
Single-step container Workflow
Use a single step when the job has no internal dependencies.
Multi-step DAG with a container stack
Use multiple steps when work must happen in order.
This example introduces the DAG first:
extractprepares input files.validatechecks the result.publishruns only after validation passes.
Parallel branches in a DAG
Use parallel branches when steps do not depend on each other.
In this example, fetch-customers and fetch-orders run independently. merge-data waits for both.
Workflow with projections
Use projections when a step needs secrets or runtime context. Define use.projection inside the step's spec, not under the Workflow's top-level spec. Each step that needs the values declares its own projection.
Last updated
Was this helpful?