Flow
Control the execution flow of your automation with branching, logging, and sub-flows.
Overview
The Flow package provides essential flow control nodes for managing automation execution. Use it to add comments, create reusable sub-flows, log messages, control branching, and manage workflow execution.
Key Features
- Flow Control - Stop, branch, and jump within flows
- Sub-flows - Create and call reusable workflow components
- Logging - Add log messages for debugging and monitoring
- Comments - Document your automation with inline comments
- Graceful Stop - Check and handle stop requests
Available Nodes
- Comment - Add documentation comments to your flow
- Log - Write log messages for debugging and monitoring
- Sub Flow - Call another flow as a sub-routine
- Fork Branch - Create parallel execution branches
- Label - Define a named point in the flow
- Go To - Jump to a labeled point in the flow
- Stop - Stop the current flow execution
- Should Stop - Check if a stop has been requested
When to Use This Package
- Flow Organization: Structure complex automations
- Debugging: Add log statements to track execution
- Reusability: Create modular sub-flows
- Documentation: Add comments explaining logic
- Error Handling: Gracefully stop on errors
Common Use Cases
- Log progress through long-running automations
- Create reusable login or setup sub-flows
- Add comments documenting business logic
- Implement parallel processing branches
- Check for user-requested stops in loops
Typical Workflow Patterns
Modular Design
- Create sub-flows for common operations
- Call sub-flows from main workflow
- Pass parameters to sub-flows
Debugging
- Add Log nodes at key points
- Use different log levels (info, warning, error)
- Include variable values in log messages
📄️ Comment
Core.Flow.Comment
📄️ Fork Branch
Core.Flow.ForkBranch
📄️ Go To
Core.Flow.GoTo
📄️ Label
Core.Flow.Label
📄️ Log
Core.Flow.Log
📄️ Should Stop
Core.Flow.ShouldStop
📄️ Stop
Core.Flow.Stop
📄️ Sub Flow
Core.Flow.SubFlow