How to build a validation to allow one child under the parent
Summary
Content (please ensure you mask any confidential information):
Hi All,
We have a department_Linkage viewpoint which has two different node types setup i.e Cost center (Parent) and Department (Child) and assigned in the specific hierarchy set (Department_Linkage) .
Department_Linkage viewpoint
Cost Center (Parent)
|——Department (child)
We need to build a custom validation to to allow only one department (child) is added under the each cost center (Parent). Please let us know how we can achieve this through an expression. Thank you.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
Tagged:
0