Workflow Composition

Chain multiple workflows together for complex, multi-stage development processes

Workflow Composition allows you to chain multiple workflows together, creating complex multi-stage processes that execute in sequence.

Overview#

Instead of running workflows independently:

workflow-1 workflow-2 workflow-3 [========] [========] [========] done done done

Chain them into a composition:

composition: full-feature ┌──────────────────────────────────────────────────────┐ │ workflow-1 ────▶ workflow-2 ────▶ workflow-3 │ │ [========] [========] [========] │ │ ▲ │ │ auto-advance │ └──────────────────────────────────────────────────────┘

Built-in Templates#

TemplateWorkflowsDescription
full-featurefeature-development, security-audit, launch-preparationComplete feature from development to launch
development-cyclefeature-development, performance-optimizationStandard development cycle with review
complete-auditsecurity-audit, performance-optimizationFull audit across security and performance

Creating Compositions#

From Template#

Loading code block...

Custom Composition#

Loading code block...

Running Compositions#

Start a Composition#

Loading code block...

Check Status#

Loading code block...

Advance Composition#

When a workflow completes, advance to the next:

Loading code block...

Managing Compositions#

List Compositions#

Loading code block...

Resume a Paused Composition#

Loading code block...

Cancel a Composition#

Loading code block...

Best Practices#

  1. Plan your sequence - Order workflows logically (dev → test → deploy)
  2. Use auto-advance - For smooth, uninterrupted processes
  3. Handle failures - Configure appropriate failure handling
  4. Monitor progress - Check status regularly for long compositions
  5. Use templates - Start with built-in templates when possible