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#
| Template | Workflows | Description |
|---|---|---|
full-feature | feature-development, security-audit, launch-preparation | Complete feature from development to launch |
development-cycle | feature-development, performance-optimization | Standard development cycle with review |
complete-audit | security-audit, performance-optimization | Full 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#
- Plan your sequence - Order workflows logically (dev → test → deploy)
- Use auto-advance - For smooth, uninterrupted processes
- Handle failures - Configure appropriate failure handling
- Monitor progress - Check status regularly for long compositions
- Use templates - Start with built-in templates when possible