A subprocess is a logical collection of activities that exists only within its parent
process. Grouping related process elements in a subprocess simplifies the view of the process. A
subprocess hides the complexity of individual step details until the subprocess activity is
opened.
About this task
Create a subprocess to encapsulate logically related steps in a process, to make the
process more manageable. For example, you might create a subprocess to contain error handling
logic.
Procedure
- Open the parent process.
- In the Definition page, add a subprocess to the diagram and name the subprocess.
Note: Swimlanes that you add to your subprocess are independent. They are not part of the swimlanes
that are contained in the parent process.
- Double-click the subprocess activity to open the subprocess and model the diagram.
- Subprocesses have access to all of the variables that are defined in the parent process.
You do not need to map data to pass data into or out of the subprocess. However, you can declare
variables that are available only to the subprocess (and any subprocesses it contains). See Modeling subprocess data.
- Like other activities, you can configure your subprocess to run the subprocess steps
multiple times. Select the subprocess activity in the parent process and set the repeating behavior
in the General tab.
- Click Save or Finish
Editing.