For the complete documentation index, see llms.txt. This page is also available as Markdown.

Script task

The functionality is available from version 2.3316.0 of the Eximee platform.

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 LibraryScript tasks.

Figure 1. The "Script tasks" tab with an example task

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.

Figure 2. Script task edit window

Last updated

Was this helpful?