Script

You have opened a script in Script Editor. You can edit the program code in the JavaScript programming language or write new scripts. You can also edit several scripts in parallel. The script code is displayed on tabs. Click X in the tab title to close the tab.

You require knowledge of the JavaScript and ARIS Script programming languages. ARIS Script is based on the JavaScript programming language and contains additional objects and methods that you need for writing scripts. This also enables you to adapt copies of existing standard scripts.

ARIS is supplied with numerous standard scripts. We generally recommend documenting all changes to scripts externally so that the documentation can be used to ensure that they are incorporated correctly during the update process.

Reports/Macros/Report templates and files

Do not make any changes to the standard scripts we supply. Always adapt copies of report, macro, and JS files, and any other files. There are exceptions, for example, the file atsall<language code>.js.

When updating ARIS, all ARIS standard scripts and files are overwritten and customer-specific changes to these files are discarded. Copied scripts and files and those you have created yourself are not overwritten.

If you have changed files we supplied but not copied them, before the update (updatesystemdb) they must be exported and then imported after the update. This enables you to retain your adapted standard scripts from the previous version. However, in this case you do not receive any corrections or updates to the files we supplied.

Semantic checks

We recommend creating custom rule types and custom profiles for semantic checks, in which the ARIS standard rule types and rules are referenced.

This is not possible for configurable rule types (relationship attribute rules, model attribute rules, object attribute rules, existence rules, and allocation rules). If you have added rules to these rule types, you must export the rule types before the update and then import them after the update.

To obtain information on ARIS Script commands, move the mouse pointer to a command in the script code and press the F1 key. Further information on JavaScript is available at http://www.ecma-international.org/publications/standards/Ecma-262.

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