Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Process template management : Working with subprocesses
 

Working with subprocesses

Business Process Server supports a subprocess workstep that allows invoking a child process from the main process. This lets you develop complex processes with composition of subprocesses and also encourages subprocess reuse across multiple applications.
You can specify the template name or the application name of the subprocess as the subprocess name in the subprocess workstep of the main process template. An alias name can be provided to each subprocess. If provided, then the subprocess instance would be created with the alias name; otherwise the subprocess name would be considered.
The following rules govern the name of the subprocess:
*You can specify the process template name as the subprocess name in the subprocess workstep of the main process.
*If you specify the process template name of a deprecated process as the subprocess name in the subprocess workstep of the main process, and if there is another process template with the same application name as that of the deprecated process template which is active, then the active version is selected during the subprocess creation.
*You can specify the application name as the subprocess name in the subprocess workstep of the main process.
Similarly, the duration of a subprocess is equal to the duration of the workstep that created it. However, if the same subprocess is created independently and not by its parent process, then its duration is the duration specified in the process template.
* Subprocess alias