You are here: Case management > Modeling a workflow > Creating a flow > Subprocesses

Subprocesses

A subprocess, also called a subflow, is a flow that is called by another flow. You can create a subprocess by adding a step to a process in Case Designer or by adding specific shapes to a flow diagram in Process Modeler. Using subprocesses helps to modularize the events in the life cycle of a case.

By default, the calling flow waits for the subprocess to finish running before moving to the next shape in the sequence. Subprocesses also can run in parallel with the calling flow or split into one or more individual flows that later rejoin. At run time, each subprocess has a context, which might not be the same as the calling flow.

Visual presentation

A subprocess is visually represented in your application in one of the following ways: