Designing Subprocesses

A subprocess is a type of task that represents a previously defined process. You can reuse existing processes by dragging them onto subprocess entities in the Process editor. The process associated with the subprocess task is triggered by the evaluation of a rule. You can use a subprocess task within a process or it can be executed outside the process, as another process on its own.

To design a subprocesses:

  1. From the Studio Projects view, drag one or multiple existing processes onto the subprocess entity in the Process editor.

  2. Right-click the subprocess and select Assign Order.

    The Order Selection dialog box is displayed.

  3. Select the order type to associate with the subprocess.

  4. Click OK.

  5. Right-click the subprocess entity and select Show Properties.

  6. In the Properties view General tab, define the basic information about the subprocess.

    For example, you can define subprocess description and display name. See "Subprocess Properties General Tab" for more information.

  7. In the Properties view Process tab, associate the subprocesses to the rules that trigger their execution.

    You define process and rule combinations that determine which process the system initiates when a rule evaluates to True. The system evaluates each rule in the order that you specify. When a rule evaluates to True, the system runs the corresponding process and ignores the remaining processes. See "Subprocess Properties Process Tab" for more information.

  8. In the Properties view Exception Map tab, define how the subprocess task handles process exceptions.

    For example, you can map subprocess exceptions to the completion statuses of the subprocess task, or to exceptions on the parent process. See "Subprocess Properties Exception Map Tab" for more information.

  9. Click Save.

Note:

Do not deploy updated process flows (for example, adding additional parallel tasks to a subprocess) to an OSM run-time environment until all orders submitted to the process have completed.