Include processes action
This element allows you to integrate one or more existing processes that react to the same data group event into the current process flow.
You can also specify the order that the processes should be executed in. The event, which triggered the invoking process will then be transferred.
In the invoked process, the event may not be identified based on its class but rather via its interface (e.g. in Groovy event handlers). This rule always applies. The g_wfContext.internalTrigger property available in Groovy is "true" in the called process. The processing takes place synchronously, in the same thread and in the same transaction. Exceptions, which occur in the invoked processes, will be transferred to the invoking process.
Include processes-Create action
The Include processes action can be found in processes in the "Elements" area. It belongs to the "Actions" category. From there, it can be dragged and dropped to the desired position in the process chain and then configured. General information on creating process elements can be found here.
If you have created the Include processes action on the workspace, open the properties dialog by double-clicking on the element.
General
All information about the settings in this dialog can be found here.
Click "Next".
Configuration
Add process
Opens a dialog in which the processes to be integrated can be selected.
Select processes
Include existing processes
The required process can be selected here
Include process with the following GUID
A process GUID can be entered here to include the corresponding process.
Click "OK" to save changes and close the dialog again.
Remove process
Removes the currently selected process from the list.
Move up / down
Adjust the order of the processes.
The Include processes action must be linked to an event handler whose configuration corresponds to the configurations of the event handlers in the included processes. The "React to external events" setting should not be set in the integrated processes, as otherwise the integrated processes will be triggered twice and therefore run twice.
Click "OK" to complete the configuration of the Include processes action.