Sub-processes

Put steps inside a sub-process, choose its kind, move steps in and out, and collapse it to hide its steps.

A sub-process holds a part of the process as steps of its own. This page covers building one on the canvas.

Add steps inside

  1. Add a sub-process, or change a task's type to Sub-process. See Step types.
  2. Right-click the sub-process and choose Add steps inside.

It opens up with a start and an end inside it, joined. Add steps between them as anywhere else. See Add steps.

The steps inside keep the sub-process's lane. Dragging the sub-process moves them with it.

Arrows join only steps at the same level. A step inside can't connect to a step outside.

Move a step in or out

To move a step in, right-click it and choose Move into, then the sub-process. The step goes in before the sub-process's end, joined up. The steps it sat between are joined.

Dropping a step on an arrow inside the sub-process moves it in too.

To move a step out, right-click it and choose Move out of, followed by the sub-process's name. The step goes right after the sub-process.

Choose its kind

Right-click the sub-process and choose Kind, or set Kind in its Properties:

KindWhat it does
Sub-processRuns when the flow reaches it. The default.
Event sub-processRuns when its start's trigger happens. It has no arrows in or out.
TransactionIts steps succeed or are undone together.
Ad-hoc sub-processIts steps are done in any order, as needed, with no start or end inside.

A sub-process with arrows in or out can't become an event sub-process until you remove them.

For an event sub-process, right-click its start and choose When it happens. Pick Stop the work round it or Work round it goes on.

See Sub-processes for how each kind is written in Flowmark.

Collapse a sub-process

To hide a sub-process's steps, select it and turn on Collapsed. It's on the selection bar, in the right-click menu and in its Properties.

A collapsed sub-process is drawn the size of a task, with a plus at the bottom. Its steps are kept. Click the plus to expand it again.

Picking a hidden step from search, a comment or a list expands the sub-process it's in first.

On this page