Workflow
Overview
A workflow can call another workflow by using the workflow node.
Using the workflow node in a ‘parent’ workflow creates a chain of workflows.
Usage
Adding workflows to other workflow is very easy: - Start with a normal workflow in the workflow design. We call this the parent workflow. - In the workflow desigmer open the Nodes menu and select ‘Workflow’. - Select a ‘child’ workflow that you wish to add to the parent workflow. - Connect the new child workflow node as you would any other workflow node.
Editing a child workflow
Each child workflow node has an ‘Edit’ button. The edit button is located in the bottom left of the node.
Clicking this button will open child workflow in a separate browser tab allow you to make changes to the workflow. Remeber to save any changes that you make.
It is important to remember that adding a child workflow to a parent really just makes a reference to the child workflow. If, for example, you have several parent workflows using the same child workflow; if you make a change to the child work then all parent workflows will be affected.
Logging in chained workflows
When a parent workflow is executed the logging for all nodes, regardless of which workflow that are contined in, are stored in the parent logging instance.
Note that there are multiple points that the start node is shown in the log. The first is the start node from the parent workflow. Subsequent Start Node entries are from the child workflows.
One potential downside to using child workflow is that all logs are bundled together. This might make ready the logs difficult. If this is a problem that we suggest you use entirely separate workflows.