Workflow Engine
Flow Control
Control execution order in Monkeys workflows
Flow Control
Flow control nodes define how execution moves through a workflow.
Common Control Patterns
- Sequential execution for deterministic steps.
- Branching for conditions and routing.
- Looping for repeated processing.
- Fork and join for parallel work.
- Sub-workflow calls for reusable logic.
- Human tasks for review or approval.
Runtime Notes
Control nodes should keep branch conditions readable and outputs predictable. When a flow becomes hard to understand, split reusable parts into sub-workflows.