What is ARIS Script?

ARIS Script is based on the JavaScript programming language. It contains additional objects and methods that you need for writing scripts. Depending on whether you define a macro rule, a semantic check rule, or write a report script, you must use the designated methods.

The JavaScript standard is specified in the ECMAScript language specification. An engine frequently used for JavaScript is Mozilla Rhino. While JavaScript language is to be distinguished from JAVA language, the Rhino JavaScript engine is implemented in JAVA. The current ARIS version uses Mozilla Rhino 1.7.7. There is no strict definition for the supported ECMA version. The Rhino engine supports JavaScript 1.7. Rhino 1.7.7 used by ARIS additionally supports features from JavaScript 1.8.x, especially the JSON object that is part of ECMA 5. Rhino 1.7.7 does not support ECMA 6.

To obtain information on ARIS Script commands, open a script, move the mouse pointer to a command in the script code, and press the F1 key.

You can also open ARIS Script via Help Show help > ARIS Script.

Further information on JavaScript is available at http://www.ecma-international.org/publications/standards/Ecma-262.htm.

If you need additional evaluation scripts, you can create report output in the design view. If you are familiar with the JavaScript and ARIS Script programming languages, you can write your own report scripts or adapt copies of existing standard scripts.

Further information and scripting tutorials are available in the ARIS Community at:

See also

Create macro

Write report scripts

Define profiles (semantic check)

Define rule types (semantic check)

Define rules of a rule type (semantic check)