The Spawn Process dialog allows the user to start new process instances based on the process instance in scope. You can select one or multiple processes to start, which includes the current in scope process definition. The processes available for selection follow the startable process semantics as defined by manual triggers. So the processes that have manual trigger assigned only those processes are available for spawning.
Note that the spawned process executes asynchronously but has to be completed before the root process is set to complete. Consider the scenario wherein you have multiple spawned processes. In this case the status of the root process will be active. If you try to complete that root process, its status would be shown as active. To set the status of the root process as complete, you should complete all the spawned processes.
Also note that abort of root process instance results in abort of spawn process. While aborting spawn process instance, you can choose whether to abort root process instance. But if you do not have abort permission for the root process then the root cannot be aborted. Recovery of root process instance recovers spawn process, as well.
In case the administrator has Abort permission for the root process and the abort permission for one of the spawned process is granted to some other user, then if the Administrator tries to abort the root process, all the spawned processes will be aborted; irrespective of the users and abort permission.
If the Spawn Process permission is not granted to the logged-in user, then the Spawn process icon does not appear. For more information, please refer to the chapter Authorization Manager of Administration Perspective.
Figure: Spawn Process Dialog
Select a row (or CTRL+click to select multiple rows) and click OK.
After the process instances are spawned the Spawn Process confirmation dialog gets displayed.
Figure: Spawn Process Confirmation Dialog
It lists each process instance that is successfully started. If you want to view the spawned activities click Yes. A worklist view displays the spawned activities.
Figure: Worklist of Spawned processes
If you do not want to view the spawned activities immediately then click No. The confirmation dialog gets closed.