Groovy 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 appropriately linked to the output of a process element whose result is to be passed 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
You can find the Groovy condition in processes in the "Elements" area. It belongs to the "Conditions" category. From there, it can be dragged & dropped to the desired location on the workspace and then configured. General information about creating process items can be found here.
If you have created the Groovy condition on the workspace, open the properties dialog by double-clicking on the element.
General
Click here for detailed information about the settings in this dialog. Click "Next".
Script
Groovy script can be created here. Click here for detailed information about the settings in this dialog.
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
The areas of the "Processes" module