The Start Process activity is used to decompose a process diagram and increase its readability. It allows you to call a subprocess within the parent process. Fundamentally, a subprocess is an independent business process, the functionality of which is part of a larger parent process.
For example, during the "Recruitment" process, a Hiring sub-process will be launched.
The Hiring process is an independent business process, described separately. All the conditions for execution are set within the process: participants, tasks, events, etc. The process diagram looks like this:
In other words, a subprocess is a complex task, within the parent process. However, it is worth noting that the Starting Process activity is not an independent task, but only a reference to another process.
You can change the subprocess without modifying the parent process.
To go to the settings window of the Start Process activity, double-click on its shape in the process diagram. You can change the name, set the conditions for the execution, as well as map the variables in the parent and child processes.
- Name – enter the name of the subprocess activity that will be displayed on the diagram.
- Process – select the process that will be called as part of the parent process. Note that you can add only a published process.
- Asynchronous start – you can determine the behavior of the system when starting a child process. If you select this option, after the start of the child process, the execution of the parent is not suspended.
Inputs and Outputs Tab
You can map context variables in the parent and child processes. Please note that only variables of the same type can be mapped.
- Input variables – variables that go from the parent process to the child process when the latter is started.
- Output variables – variables that go to the parent process from a child process when the latter is ended.