Table of Contents

R38742 Case Category - Check Inheritance Chain

Code R38742
Entity Projects.Agile.CaseCategories Entity
Name CheckInheritanceChain
Attribute InheritFrom
Layer Back-End
Events Commit
Priority Normal
Modify NO
Action

If InheritFrom field has a value

Validate that:

  1. The number of nested InheritFrom references, including the current Category, is less than or equal to 10.
  2. The inheritance chain must not contain circular references – а category cannot inherit from itself – neither directly nor indirectly.
Description This rule prevents invalid inheritance scenarios by:
- limiting the inheritance chain to a maximum of 10 nested levels
- preventing circular inheritance (i.e. a category referencing itself directly or indirectly)
Message Invalid category inheritance.

Category '{DisplayText}' cannot inherit from '{InheritFrom.DisplayText}', because this would create a circular dependency or exceed the allowed limit of 10 nested levels.

Please review the inheritance chain and ensure it complies with the defined constraints.
Version Introduced: v.25
Revocable NO

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.