Set quality rules for relations

Set quality rules for relations

In your project, quality can be assured by setting quality rules. For a relation with quality rules, users are notified whenever they try to edit it, and it decreases the quality of the project.

Note:

  • Quality violations 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 indicator will appear 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 indicator will appear.
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 indicator will appear when the list property of the to-element is empty or has a different value than 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 indicator will appear if one of the relations in the circle is missing.

Note:

  • This quality rule only applies to relations.
Disallowed circular dependency This quality rule’s goal is to prevent a predefined circle of type element relations from existing 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. A quality indicator will appear 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 in the bottom right of the dialog. The quality rule will now show 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
Schakel JavaScript in je browser in om dit formulier in te vullen.

Download the whitepaper

Schakel JavaScript in je browser in om dit formulier in te vullen.

Download the whitepaper

Request a demo

Fill in the below information and we will contact you to schedule a demo.

Schakel JavaScript in je browser in om dit formulier in te vullen.
We will use this information to contact you.
Schakel JavaScript in je browser in om dit formulier in te vullen.
Schakel JavaScript in je browser in om dit formulier in te vullen.
Addresss

Neem contact op

Vul ons formulier in en een van de Relatics medewerkers neemt zo snel mogelijk contact met u op. Liever telefonisch contact? Bel ons op +31 (0) 180 413 047.
Schakel JavaScript in je browser in om dit formulier in te vullen.