Integrate Processes Action

This element allows you to integrate one or more existing processes that respond to the same data group event into the current process flow.

This also allows them to specify the order in which the processes should be executed. The event that triggered the calling process is passed along.

In the called process, the event must not be identified by its class, but only by 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. Processing occurs synchronously, in the same thread and within the same transaction. Exceptions that occur in the called process are passed on to the calling process.

Integrate Processes—Create Action

You can find the "Integrate Processes" action in "Processes" under the "Elements" section. It belongs to the "Promotions" category. From there, it can be dragged and dropped into the desired location in the process chain and then configured. General information on creating process elements can be found here.

If you have created the "Integrate Processes" action on the workspace, open the Properties dialog by double-clicking the element.

General

You can find all the information about the settings in this dialog box here.

Click "Next."

Configuration

Add Process

Opens a dialog box where you can select the processes to be included.

Select Processes

Integrate Existing Processes

Here you can select the process you want.

Include the process with the following GUID

You can enter a process GUID here to integrate the corresponding process.

Click "OK" to save your changes and close the dialog box.

Remove Process

Removes the currently selected process from the list.

Move up / down

Changes the order of the processes.

The "Integrate Processes" action must be linked to an event handler whose configuration matches the configurations of the event handlers in the integrated processes. In the integrated processes, the "Respond to external events" setting should not be enabled, because otherwise the integrated processes will be triggered twice and thus run through twice.

Click "OK" to complete the configuration of the "Include Processes" action.

More Information

"Processes" Module

Create and Manage Processes

The sections of the "Processes" module

Creating and Connecting Elements

Analyze the log file

Options

External Data in Processes

Java Classes in Process Objects