Specifying the Parent Rule and Parent Object properties for validation rules allows you to relate validation rules and group their validation results hierarchically in the Validation Results panel for easier analysis.

Specifying the Parent Rule and Parent Object properties

To specify the Parent Rule and Parent Object properties


  1. Open the Specification window of the validation rule whose results you want to group in the Validation Results panel. How to open the Specification window >>

  2. Specify the Parent Rule property:
    1. Find the Parent Rule property and click the [...] button in its value box. The Select Constraint dialog opens. 
    2. In the Select Constraint dialog, click the validation rule whose failing element you want to be displayed as the grouping one in the Validation Results panel. Click OK.
  3. Specify the Parent Object property:
    1. Find the Parent Object property and click the [...] button in its value box. The Parent Object dialog opens. 
    2. In the Parent Object dialog, select Simple Navigation, locate the Owner property, and set it to true in the Is Applied column. Click OK.
  4. Click Close.

Now, in the Validation Results panel, elements that fail validation will display their failed elements as child items.

Example: Relating validation rules to display grouped validation results

In this example, we define two validation rules:

Then we set the Parent Rule and Parent Object properties for the Disapproved Requirements validation rule:

As a result, the individual requirement failures (raised by the Disapproved Requirements validation rule) are grouped under the requirements' parent package failure (raised by Package with Disapproved Requirements) in the Validation Results panel.

To explore the example further, please find the attached sample project parent rule and parent object of validation rules.mdzip.