Skip to main content

Sub-workflow Groups: Troubleshooting and FAQ

This page answers the questions that come up when a workflow uses a sub-workflow group. For how to set one up, see Setting Up a Sub-workflow Group.

Save Workflow is disabled​

A group child finishes only at a Complete Workflow step. When an entry runs a workflow that has none, the entry shows a warning, and Save Workflow is disabled. Its tooltip names the workflow, for example: "Cannot save: "SWG EN Check without Complete Workflow (child)", used by the Sub Workflow Node, has no "Complete Workflow" step. Choose another workflow or add the step to it."

The entry's warning: SWG EN Check without Complete Workflow (child) has no Complete Workflow step

The entry's warning

Add a Complete Workflow step to that workflow and save it, or choose another workflow for the entry.

A document cannot be deleted​

A document cannot be deleted while a sub-workflow of a group still runs on it. Delete Document in Document details has Remove Workflows ticked. With it ticked, the workflows on the document are removed first, and the document is deleted.

With Remove Workflows unticked, the delete is refused. The dialog says: "The document was not deleted: a sub-workflow is still running on it. Select Remove Workflows and delete it again." Below, it counts the sub-workflows still running and lists each one.

Delete Document with Remove Workflows unticked: the document was not deleted, 2 sub-workflows are still running, Electrical check and Plumbing check

A refused delete

Each sub-workflow in the list opens its parent workflow in a new tab, at Related Workflows. There, its Sub-workflows card lists the sub-workflows, and Cancel stops one. See Sub-workflows.

To delete the document, either tick Remove Workflows and select Delete again, or cancel the sub-workflows first.

Example: Deleting a document a sub-workflow runs on

FAQ​

What happens to the children when the parent workflow is cancelled?​

They are cancelled too. Cancelling the parent always cancels its open children: each child that was still running ends as cancelled.

Why did the group start no children?​

The parent continued down None spawned. The group's entries started no child, for example because an entry's Only when conditions did not match the document, or no workflow matched and When nothing matches is Start no child. Use Test on the entry's rules, or Test template selection, to see what the entry would do for a document.

Can the person who starts the workflow choose a child's workflow?​

Yes. Tick Let the initiator choose the workflow on the entry, and list the workflows the initiator may choose. See Letting the initiator choose.

Where do users follow a group's children?​

In the Inbox, on the parent workflow's Related Workflows tab. See Sub-workflows.