An expanded sub-process is a sub-process that displays its internal activities directly within the process diagram.
An expanded sub-process executes as part of the parent process and does not create a separate process instance. Activities inside the sub-process share the same process variables and execution context as the parent process.
The sub-process requires its own start and end events and it can have boundary events attached to it.
The expanded sub-process is displayed as a thin rectangle with its own elements:
Use an expanded sub-process when:
- The internal process flow should be visible.
- Process logic is complex and benefits from visual grouping.
- Multiple related activities support a single business objective.
- Process designers need to review the internal workflow frequently.
For example, a document approval process contains multiple review and validation steps. Grouping these activities inside an expanded sub-process helps organize the process while keeping the detailed workflow visible.