Terms amount

Various Business Rules are checked after a change is made to a Model Object. These checks ensure the integrity and consistency of the model.

One such business rule checks the amount of Terms.

Amount of Terms

This Business Rule checks the amount of Terms in a Model Object.

This check has seven parameters:

  • ExcludeDefaultTerms: if true, the Default Terms are not counted to check this rule
  • ExcludeBusinessKeys: if true, the Business Key Terms are not counted to check this rule
  • ExcludeIdentities: if true, the Identity Terms are not counted to check this rule
  • ExcludeForeignKeys: if true, the Foreign Key Terms are not counted to check this rule
  • ExcludeUnmapped: if true, the Terms which are not mapped are not counted to check this rule
  • Min: the minimum number of Terms in a Model Object
  • Max: the maximum number of Terms in a Model Object

If the Business Rule validation fails, the following message will be displayed as a Warning Notification on the Model Object:

Model object '{ModelObject.Name}' of type '{ModelObject.ModelObjectType.Name}' has the wrong amount of terms defined. The amount of terms should be {supportedAmount}{excludedOptionOutput}.

Example: