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 the life cycle of a case or by adding specific shapes to a flow diagram. Subprocesses modularize the events in the life cycle of a case.

By default, the calling flow waits for the subprocess to finish running before it moves to the next shape in the sequence. You can run a subprocess in parallel with the calling flow, or split it into one or more individual flows that later rejoin. 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:
  • A step in the life cycle of a case that calls a flow

  • The Subprocess shape in a flow diagram

  • The Split Join shape in a flow diagram

  • The Split For Each shape in a flow diagram