Groovy plugin
The Groovy plugin enables you to run user-defined Groovy scripts.
Groovy is an object-oriented programming language for the Java platform. It is a dynamic language that can be used as a scripting language.
To use the plugin's steps, open the process designer and navigate to Scripting > Groovy in the Tools pane.
The plugin has the Run Groovy Script step for you to add to your processes.
See also: