Set quality rules for relations

Set quality rules for relations

In your project, quality can be assured by setting quality rules. For every relation with quality rules, users are notified whenever they try to edit it in a way that breaks the quality rules.

Note:

  • Quality reminders of relation rules are only visible in the overview of the from-element.
Quality rule type Explanation
Existence of relation required When this quality rule is applied to a relation, to assure the quality of the project, the relation must be made. A quality reminder will be given for every element where the relation is missing.
Existence of relation required in life cycle This quality rule can be applied within type elements with a life cycle property. It means the relation will be required for certain parts of the life cycle of an element. If a relation cell with this quality rule is empty and the corresponding element is in the required part of the life cycle, a quality reminder will be given.
Criterion for allowed to-elements: Subtype For a type relation in the project, it’s possible to designate one or more values of a list property of the type element to which the relation is made as required. If a relation is made between two elements for which this quality rule has been set on the type relation, Relatics will check if the list property of the to-element has the correct value. A quality reminder will be given when the list property of the to-element is empty or has a value different from the values in the quality rule.

Notes:

  • This quality rule only applies to relations.
  • This quality rule only applies to list values of the element to which a relation is made and not to list items of the from-element.
Required circular dependency This quality rule checks if all relations exist in a predefined circle of type elements before creating a relation between two elements. To illustrate, consider the following case: to guarantee the quality of the model, an action needs to have a responsible person who is part of the work package of which the action is a part. The circular dependency quality rule checks whether the new relation completes this model, in this example, a new relation between action and work package. A quality reminder will be given if one of the relations in the circle is missing.

Note:

  • This quality rule only applies to relations.
Disallowed circular dependency This quality rule checks if a predefined circle of type element relations does not exist before you can create a relation between two elements. Consider the following case: to guarantee the quality of the model, an action cannot have the same responsible person as the executive person. The circular dependency rule checks, when assigning an executive person to an action, if the same person is not also the person responsible for the action. In the example, a quality reminder will be given if the person responsible for the action and the one executing the action are the same.

Note:

  • This quality rule only applies to relations.

Configure existence of relation required (in life cycle) *

  1. In the workspace menu, click on  Type graphview.
  2. In the model, click on the type relation name.
  3. In the toolbox, click on  Edit. As a result, the dialog Type relation settings is opened.
  4. In the dialog Type relation settings, navigate to the Advanced tab.
  5. In the field Existence of relation select the quality rule type: required or required in life cycle.
  6. Skip this step if you have selected required. From the dropdown menu, select the list values of the life cycle property for which this relation must exist.
  7. Click Update.

Configure allowed subtype of to-element and circular dependency *

  1. In the workspace menu, click on  Type graphview.
  2. In the model, click on the type relation name.
  3. In the toolbox, click on  Edit. As a result, the dialog Type relation settings is opened.
  4. In the field Criteria for allowed To elements select Add criteria. A new dialog opens.
  5. In the field Criteria type select:
    • Subtype of to-element.
      1. In the field Property select the name of the list property.
      2. In the field Values select the required list values.
    • Circular dependency.
      1. In the field Circle to from-element select the circle for which you want to check the dependency.
      2. In the field Existence select if you want the circular dependency to be required or not allowed.
  6. Click on Add at the bottom right of the dialog. The quality rule will now appear in the type relation settings dialog.
  7. Click on Update.
* In the workspace, the user type of your user must be set to power user to enable this feature.
Back

Request a demo

Fill in our form and one of our colleagues will contact you as soon as possible to schedule a demo.

Please enable JavaScript in your browser to complete this form.
Please enable JavaScript in your browser to complete this form.

Download the whitepaper

Please enable JavaScript in your browser to complete this form.
Addresss

Get in touch

Fill in our form and one of the Relatics members will contact you as soon as possible. Do you prefer contact by phone? Please call us at +31 180 413 047.
Please enable JavaScript in your browser to complete this form.