how to create the relationship rule for cmdb dashboard and what are the best practices to create that relationship rules?

Sanem
Tera Contributor

what are the best practices to view and create this relationship rule for cmdb dashboard how can we make changes in them 

2 REPLIES 2

Anshu_Anand_
Kilo Sage
Kilo Sage

You don't have to necessarily create your own rule .CMDB provides OOTB metrices for that. You just have to maintain the integrity of relationship. You can create rule for specific classes via cmdb group view.

You have to follow the cmdb Relationship governance rule.

Relationship governance rules is a set of relationship rules used to ensure consistency and validity in modeling relationships between configuration items (CIs) in the CMDB. Use relationship governance rules to prevent the selection of relationship types or directions that are not allowed between specific CI types.

https://docs.servicenow.com/bundle/sandiego-servicenow-platform/page/product/configuration-managemen...

 

CMDB Health measures CI relationship health using a separate KPI and metrics.

Orphan relationship
A relationship that is missing parent, child, or relationship type.
Make sure on cmdb_rel_ci, none of them are missing.
This happens when a CI is deleted, but relationships are still there.
Duplicate relationship
Relationships that have identical parent, child, and relationship type.
This happens many times. you have to clean it up regularly . see below KB article attached
Stale relationship
A relationship in which one of the CIs is stale. For a stale CI — its associated relationships are also stale.

How to identify and delete duplicate CMDB CI Relationship records, or ones that have orphan or missing parent/child relationships

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0780988

 

If its helpful, mark answer as correct

Regards,
Anshu

Anonymous_guy
Tera Expert

Hello @Sanem ,

I'm on the same page as you were. How did you manage to run the relationship score job to consider only selected classes?