Groovy Event

Groovy is a scripting language modeled after Java and is considered to be better integrated than most other scripting languages on the JVM. Anything that can be implemented in Java can also be implemented in Groovy. This is the most powerful process action in Intrexx—but it also goes beyond the no-code realm and requires a certain level of expertise. With this expertise, however, it is possible to implement every conceivable use case that can be realized with software. You can integrate any libraries, query databases directly via SQL, and thus have complete freedom in implementing your requirements.

Groovy scripts can be easily integrated into processes. You can access the script editor through the Groovy action's properties dialog, where you can write the script you want. It is then executed at the exact point where the action is located in the process chain.

Adequate programming knowledge is required to use Script in Intrexx. Please note that INTREXX GmbH assumes no liability for errors, data loss, or security vulnerabilities caused by incorrect scripting in Intrexx.

Create a Groovy Action

You can find the Groovy action in processes under "Elements." 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.

Once you have created the Groovy action on the workspace, double-click the element to open the Properties dialog.

General

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

Click "Next."

Script

You can find all the information you need about writing Groovy scripts using this dialog here.

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