Global validation rules check the result of an element set, while validation rules contained in predefined validation suites or active validation suites are dedicated to check a separate element. You can create global validation rules in the same way as other validation rules by defining an appropriate condition in the Specification property.
An example of a global validation rule can be found in the model validation sample model > Classifiers Validation Rules Class diagram. To open this sample do one of the following:
- Find in the modeling tool <modeling tool installation directory>\samples\product features\model validation.mdzip.
After the validation finishes, the global validation rule is marked as <model> in the Validation Results panel > Element column. This means that the entire model, not the separate element, violates the rule.