Script task
The availability of the functionality depends on the license and may not be available in all deployments.
Script tasks (so-called handlers) are used to invoke business logic within a process. A list of all defined script tasks is available in the tab Library → Script tasks.

The script code should be written in plain JavaScript (ES6 or newer). The code must be compatible with the version of the JavaScript engine provided by Rhino (http://mozilla.github.io/rhino/compat/engines.html). Additionally have been disabled such elements as "eval".
Creating a script task
After clicking the button Add script task, we will be taken to the script editor window (more information in Script task editor).
The edit window in the repository allows you to change the content of a script task.

Last updated
Was this helpful?
