Sub-workflow Groups
A sub-workflow group lets one step of a workflow hand work out to several child workflows at once, and wait for their results. For example, an inspection can start one check for each trade, or one check for each photo attached to a report. The parent workflow waits until the checks have ended, then continues by what they found.
A group is a Sub Workflow Node in Group mode. A new Sub Workflow node starts in Group mode. For one child workflow that the parent follows by its Output Node labels, use Single mode. See Sub Workflow Node.
How a group runs

A group and its Collect step
- The parent reaches the Sub Workflow Node. Each of its Spawn entries starts its children: one child, or one for each grid row, attachment or document in a transmittal. Each child runs the workflow the entry chooses for it.
- The parent continues down Spawned to a Collect Sub-workflow Results step, and waits there. If no child started, it continues down None spawned instead.
- Each child runs as an ordinary workflow, and ends at its Complete Workflow step. An Output Node before it records a label, such as Passed or Failed.
- When the children have ended, the Collect step continues the parent. The first Outcome route whose condition matches decides the output, for example Rework when any child has the label Failed. With no match, the parent continues down Done. When no child counts, it continues down None completed.
- A later Attach Documents step can attach, link, cross reference or file the documents the Collect step gathered. See Attach Documents.
What the parent's settings control
| Setting | Effect |
|---|---|
| Deadline (hours) | Children still running this many hours after the group starts are timed out. |
| When a child fails | Fail the parent, or Continue the parent. |
| A child counts when | Which children the Collect step counts: those that complete, or those that end with one of the labels listed. |
Cancelling the parent always cancels its open children. Each child still running ends as cancelled.
Following a group
The people working on the parent follow its children in the Inbox. The parent's Related Workflows tab has a card for the step, with how many children have finished and View sub-workflows, where a child can be opened, completed or cancelled. See Sub-workflows.
The parent's System Tasks tab has a card for each step the workflow carried out. The arrow on a card opens the step's result.
The Sub Workflow Node result lists the children the step started. For each child it shows the entry and the workflow the child ran, its Status and how it ended, its Output Label, and when it started and finished.

The Sub Workflow Node result
The Collect Sub-workflow Results result shows the Route taken, how many children there were, and how many it Collected. For each child it shows the Output Label, whether the child was collected, and the End Reason.

The Collect Sub-workflow Results result
Deleting a document a child runs on
A document cannot be deleted while a child of a group still runs on it, unless Remove Workflows is ticked in Delete Document. See A document cannot be deleted.
Examples
Two common set-ups:
One check for each trade
The parent Site inspection has a group step, Trade checks, with two entries: Electrical and Plumbing. Each starts One child on The parent's document, running the workflow Trade check (child). In that child, a reviewer replies Passed or Failed, and an Output Node records the same label before Complete Workflow.
The Collect step Collect check results has one outcome route: Any child has the label Failed continues down Rework. When the Plumbing child ends with the label Failed, the Collect step's Route taken is Rework, and the parent continues down Rework.
The Electrical entry also lets the initiator choose its workflow: when the workflow starts, the start dialog asks for it, and the person who starts the inspection can choose Alternate check (child) instead. See Choosing a sub-workflow at start.
One check for each photo
The parent Site photos has a group step, Photo checks, with one entry that starts One per attachment, each child on Its attachment. The Collect step Collect photos is followed by the Attach Documents step File photos, set to File them into a folder.
With two photos attached to the parent's document, the group starts two children. When both have completed, File photos files both photos into the folder. Its result shows the folder they were Filed into, and lists each Collected document by its document number, with its Child Workflow.

The Attach Documents result
Related configuration
- Setting Up a Sub-workflow Group
- Sub-workflow Groups: Troubleshooting and FAQ
- Flow Control Nodes: the Sub Workflow and Collect Sub-workflow Results nodes
- Attach Documents
- System Config: the workflow private folder