Sub Flow
A sub flow is a versatile construct that enables you to encapsulate a sequence of actions or logic into a single, reusable flow element. Similar to a standard flow, a sub flow can consist of multiple steps and can accept parameters/fields to customize its behavior. Sub flows serve as modular building blocks, allowing you to streamline complex workflows by encapsulating them within a single component.
Tutorial
Key Features
Modularity
Sub flows encapsulate complex logic or sequences of actions into a single component, promoting flow reuse and maintainability.
Multiple Outputs
Like standard flow elements, sub flows can have multiple outputs, allowing them to perform different actions based on specified conditions.
Input Fields
Sub flows can accept input parameters, enabling them to adapt their behavior dynamically based on the provided inputs.
Usage
Creation
Sub flows are configured similarly to Template. You define the sequence of actions or logic within the sub flow, specifying input fields and outputs as needed.
Integration
Once created, sub flows can be seamlessly integrated into standard flows, providing a modular approach to building complex workflows.
In summary, sub flows offer a flexible and modular approach to organizing and executing sequences of actions or logic within your application's workflows.