Define rules of a rule type (semantic check)

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

  1. Click ARIS > Show Administration Administration.
  2. Click Navigation Navigation in the bar panel if the Navigation bar is not activated yet.
  3. In the Explorer tree, double-click the Evaluations Evaluations folder.
  4. Double-click the Semantic checks folder. Profiles and rule types are displayed.
  5. Click the Rule types folder.
  6. Click the rule type you want to define rules for.
  7. Click New > Rule type Semantic check rule. The Edit rule dialog opens.
  8. Specify the relevant settings and click Finish.
  9. Right-click the rule type again.
  10. Click Open. The script opens in Script Editor.
  11. 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 existing script 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.

  12. Click Check syntax Check syntax in the Debug tab bar. If syntax errors occurred in the script you can quickly eliminate them using the list output.
  13. Check the script before releasing it. To do so, open the script and click Run Run (F9).
  14. Save the script.

The rule is available on this ARIS Design Server.

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.

See also

What is a semantic check?