Modeling non-reusable subprocesses

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

  1. Open the parent process in the Process Designer.
  2. 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.
  3. Double-click the subprocess activity to open the subprocess and model the diagram.
  4. 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.
  5. 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.
  6. Click Save or IBM BPM version 8570 cumulative fix 2017.03Finish Editing.