Rules are combined in rule types. If you have created a rule type you can define rules in the rule type script.
You define rules from these rule types when you Define profiles (semantic check).
Prerequisite
You are script administrator for this tenant.
You require knowledge of ARIS Method and of the JavaScript and ARIS Script programming languages.
Procedure
In ARIS Architect, click ARIS > Administration.
Click Navigation in the bar panel if the Navigation bar is not activated yet.
In the Explorer tree, double-click the Evaluations folder.
Double-click the Semantic checks folder. Profiles and rule types are displayed.
Click the Rule types folder.
Click the rule type you want to define rules for.
Click New > Semantic check rule. The Edit rule dialog opens.
Specify the relevant settings and click Finish.
Right-click the rule type again.
Click Open. The script opens in Script Editor.
Write the script for the new rule. For editing, use the commands in the Start and Debug tab bars.
Please use only methods from the object model for reports and semantic checks. You can adjust the script code at any time and for example, provide your own help pages. If you do not want to write a script from scratch, simply adapt the copy of an to suit your requirements. To obtain information on ARIS Script commands, move the mouse pointer to a command in the script code and press the F1 key.
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.
Click Check syntax in the Debug tab bar. If syntax errors occurred in the script you can quickly eliminate them using
the list output.
Check the script before releasing it. To do so, open the script and click Run (F9).
Save the script.
The rule is available on this tenant.
If you start semantic check profiles containing rules for objects and models for groups, you can evaluate all objects/models of the group and its subgroups. To do this, script administrators must adapt the file atsall<language code>.js, for example, atsallen.js.