Type
workflow_executorFormats
JSON, Python DSL, Agent-based
Common Use Cases
Multi-step deployment pipelinesBuild, test, and deploy applications across multiple environments
Complex orchestration tasksCoordinate operations across multiple services and systems
Dependent task executionExecute tasks with dependencies and data passing between steps
Conditional workflow branchingMake decisions based on runtime conditions and previous step outcomes
Workflow Formats
| Format | Best For | Key Features |
|---|---|---|
| JSON | Simple, linear workflows | Declarative syntax, version control friendly, schema validation |
| Python DSL | Complex logic, dynamic workflows | Full Python capabilities, dynamic step generation, complex conditionals |
| Agent-based | Multi-agent orchestration | Delegate to specialized agents, hierarchical execution |
Configuration
Example Configuration:📋 Full Configuration Reference
📋 Full Configuration Reference
| Parameter | Type | Default | Description |
|---|---|---|---|
validation_enabled | boolean | true | Validate workflows before execution |
timeout | number | 1800 | Global workflow timeout (seconds) |
allowed_executors | array | [“shell”, “python”] | Permitted step executors |
max_parallel_steps | number | 5 | Maximum concurrent steps |
parallel_execution | boolean | true | Enable parallel execution |
on_failure | string | ”stop” | Failure strategy (stop, continue, retry) |
max_retries | number | 3 | Maximum retry attempts per step |
retry_delay | number | 5 | Delay between retries (seconds) |
enable_context_sharing | boolean | true | Share data between steps |
Quick Start
View Complete Examples
See full deployment pipelines, ETL workflows, and multi-agent orchestration examples
Workflow Features
Conditional Execution
Execute steps based on runtime conditions:Parallel Execution
Run independent steps concurrently:Data Passing Between Steps
Share outputs between workflow steps:Error Handling and Retries
Configure retry behavior for resilient workflows:Example Workflow
Deployment Pipeline
Security Best Practices
Validate Workflows
Validate Workflows
Always enable
validation_enabled to catch errors before execution.Restrict Executors
Restrict Executors
Limit
allowed_executors to only necessary execution methods.Set Timeouts
Set Timeouts
Configure timeouts to prevent runaway workflows.
Troubleshooting & Related Skills
Workflow Validation Fails
Workflow Validation Fails
Solutions:
- Check JSON syntax is valid
- Verify all
depends_onreferences exist - Ensure no circular dependencies
- Validate executor types are in
allowed_executors
Step Timeout
Step Timeout
Solutions:
- Increase step-specific timeout
- Increase global workflow timeout
- Optimize step execution
- Break into smaller steps
Context Data Not Available
Context Data Not Available
Solutions:
- Verify
enable_context_sharing: true - Check
output_variableis set on source step - Ensure variable name matches in dependent step