Relationships 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 Relationships.

Amount of Relationships

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

This check has three parameters:

  • Min: the minimum number of Relationships in a Model Object
  • Max: the maximum number of Relationships in a Model Object
  • RelatedModelObjectType: the type of the source Model Object in the Relationship

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 relations defined. The amount of relations to model objects {supportedModelObjectTypes}should be {supportedAmount}.

Example: