Script validators (validationScript)
Lightweight script validators are scripts that do not require connection to external services. Scripts can be written in the repository and then used on the application.
Script code should be written in plain JavaScript (in ES6 or older). The code must be compatible with the Javascript engine version provided by Rhino (http://mozilla.github.io/rhino/compat/engines.html). Additionally have been disabled elements such as "eval".
Timeout
Note! The script execution time is limited to 1 second, to eliminate cases of infinite loops/unfinished recursion. After one second an exception will be thrown.
Last updated
Was this helpful?
