This is documentation for Semarchy xDI 2023.4, which is no longer supported. For more information, see our Global Support and Maintenance Policy. |
Java Native Scripting
Description
This action enables allows to run a script as part of the action. This action provides scripting capabilities using the built-in Java scripting and supports Javascript (Rhino or Nashorn engines), Jython and Groovy languages.
When using this action, you must specify the language used for scripting
in the Scripting Language parameter and the script code in the action
code in the expression editor. This code does not need to be enclosed
between the %e(<language>){…}e(<language>)%
tags, and can use
variables.
Parameters
Name | Mandatory | Default | Description | ||
---|---|---|---|---|---|
Scripting Language |
Yes |
Name of the scripting language: rhino, nashorn, jython or groovy.
|
|||
Scripting Connection |
No |
Name given to the scripting context shared across different actions. |
|||
Module |
No |
Module to use when using jython and groovy scripting languages.
|