Groovy script condition

To be able to structure Intrexx applications even more flexibly, you have the ability to integrate Groovy scripts into your processes. Groovy is considered to be better integrated than most other script languages on the Java Virtual Machine. Existing libraries or Groovy objects and classes in Java can be used easily.

A Groovy condition must be connected to the output of a process element whose result is to be passed on to the input of another process element. A condition is completely and correctly connected, once a connection is made to both of these elements.

Create Groovy condition

The Groovy condition can be found in processes in the "Elements" area. It belongs to the "Conditions" category. From there, it can be dragged and dropped to the desired location on the workspace and then configured. General information on creating process elements can be found here.

Once you have created the Groovy condition on the workspace, open the properties dialog by double-clicking on the element.

General

All information on the settings in this dialog can be found here. Click "Next".

Script

Groovy script can be created here. All information about the settings in this dialog can be found here.

Click "OK" to complete the configuration.

Connection ID

When connecting a Groovy condition with a subsequent process element, a dialog opens automatically in which you can define the connection ID.

Helpful tips & tricks for using a Groovy condition in conjunction with other process elements can be found here.

Connection details

The GUID and connection ID of the connection between the Groovy script condition and the following process element are displayed here. You will also find the dialog in the Generic condition. It can be accessed via the main menu "Edit / Details" or the context menu of the same name if the connection arrow is highlighted on the workspace. The Expert options for processes must be activated for the dialog to be displayed.

More information

Processes" module

Create and manage processes

The areas of the "Processes" module

Creating and editing elements

Analyze log file

Options

External data in processes

Java classes in process objects