The SubProcess activity node

This node can be used to call any defined subprocess. Any number of subprocesses can be called in a single process flow and the same subprocess can be called more than once.

There is no new workunit created for a subprocess. All the nodes in a subprocess will be part of the same workunit. When a process flow with a SubProcess node is executed, all the activity nodes except FromParent and ToParent from the subprocess will be substituted in place of the SubProcess node. As a result, there will be no SubProcess activity node in the log.

For example, you have a process flow with an Assign node, SubProcess node, and then Email node, where the subprocess called from the SubProcess node has the FTP and Landmark Transaction nodes:

Main process: Start > Assign > SubProcess > Email > End

Subprocess: FromParent > FTP > Landmark Transaction > ToParent

When this process is executed, it will be executed in this order and this is how the activities will be shown in the server:

Process at runtime: Start > Assign > SubProcess_FTP > SubProcess_Landmark Transaction > Email > End

The activity id of the nodes in the subprocess will be replaced with <subprocess activity id from main process>_<node activity id>

For example, if the SubProcess node activity id is SubProcess1 in the main process, and the activity id of the FTP node in the subprocess is FTP1, then the activity id of the subprocess FTP node will be SubProcess1_FTP1 when the process is executed.