Run another workflow as a node in the current workflow
The Workflow Invocation Node is an essential feature in the Pathlit workflow builder. This node allows users to execute another workflow as part of the current workflow. It is particularly useful for chaining workflows together, enabling complex processes to be automated seamlessly. By using this node, you can enhance the functionality of your workflows and create more dynamic and responsive automation.
To set up the Workflow Invocation Node, you need to configure the following parameters:
Workflow:
Select a deployed workflow that you want to run within the current workflow.
Allow Self-Loop:
A checkbox option that determines whether the selected workflow can invoke itself during execution.
Inputs:
Outputs:
This node does not produce any direct outputs. It simply triggers the selected workflow with the provided input.
Chaining Workflows:
If you have a workflow that collects data and another that processes that data, you can use this node to link the two. The first workflow can pass its output directly to the second workflow for seamless data processing.
Modular Workflow Design:
In scenarios where you have repetitive tasks across different workflows, you can create a single workflow for those tasks and invoke it from multiple places. This promotes reusability and simplifies maintenance.
Dynamic Task Execution:
If your workflow requires different actions based on user input or conditions, you can use this node to invoke different workflows dynamically based on the situation, making your automation more flexible.
Multi-Step Approval Processes:
In a business process where approvals are required at different stages, you can use this node to call an approval workflow at each step, ensuring that the process flows smoothly from one approval to the next.
Workflow Not Selected:
If you receive an error stating that no workflow is selected, ensure that you have chosen a valid workflow in the configuration settings.
Input Data Issues:
If the node fails to execute, check that the input data provided matches the expected format for the selected workflow. Inconsistent data can lead to execution failures.
If you encounter issues that are not addressed in this documentation, please reach out to our support team for assistance.