Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Define Validation Configuration

Using the 'Model Validation Configuration' dialog, you can choose which sets of validation rules are and are not executed when a user performs a validation.

Rather than perform this configuration manually and potentially have to change the settings back for your Technology every time Enterprise Architect is started and a different Technology has been set active, you can define the configuration settings within the MDG Technology Selection (MTS) file of your Technology.

Access

Locate and open the .MTS file in whatever file browser you use in your work. You edit the file as indicated in these two tables, and then save the file.

White List

To specify a set of rules as a white-list (that is, anything added to this list is turned ON), open your MTS file in a text editor and copy and paste this <ModelValidation> block at the top level inside the <MDG.Selections> block:

     <ModelValidation>

          <RuleSet name="BPMNRules"/> <!-- ruleset ID defined in the Project.DefineRuleCategory call -->

          <RuleSet name="MVR7F0001"/> <!-- notice you can turn on/off system rules as well! -->

     </ModelValidation>

Ensure that the ruleset IDs do not contain any spaces.

Black List

To specify a set of rules as a black-list (that is, anything added to this list is turned OFF), open your MTS file in a text editor and copy and paste this <ModelValidation> block at the top level inside the <MDG.Selections> block:

     <ModelValidation isBlackList="true">

          <RuleSet name="BPMNRules"/>

          <RuleSet name="MVR7F0001"/>

     </ModelValidation>

In this example, "BPMNRules" is the rule-set ID defined in the Project.DefineRuleCategory call - see Project Class for details. "MVR7F0001" is a built-in rule-set. These validation options are applied when you activate the appropriate technology. The global (default) technology has all rules turned on.

Learn more