Relationship governance rules
Summarize
Summary of Relationship Governance Rules
Relationship governance rules are essential for maintaining consistency and validity in modeling relationships between configuration items (CIs) within the CMDB. These rules help prevent the selection of invalid relationship types or directions between CI types, ensuring that applications like Discovery and Service Mapping represent relationships accurately.
Show less
Key Features
- CMDB Dependent Relationship Rules: Used for CI identification and can be viewed and modified in the CI Class Manager.
- Suggested Relationships: Based on existing relationships in the Suggested Relationship table, these can also be managed in the CI Class Manager.
- Reference Rules: Primarily utilized by Cloud Management to define valid combinations of referencing and referenced CIs.
- Built-in Valid Relationships: Pre-defined relationships in the system, such as between cmdbciendpoint and Applicative Flow.
- Inheritance Support: Valid relationships can be inherited through class hierarchies, allowing for flexibility in CI relationships.
- Report Compliance: Use the Relationship Health Dashboard to track compliance with governance rules.
Key Outcomes
By implementing relationship governance rules, customers can achieve valid and consistent relationships within the CMDB, reduce inconsistencies across applications, and ensure that CI relationships adhere to defined standards. This enhances the reliability of service definitions and improves overall relationship management in ServiceNow.
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.
Different applications such as Discovery and Service Mapping create relationships between CIs. Each application might use inconsistent relationship type or direction to represent the same entity, resulting in multiple views of the same CIs. Relationship governance rules define what are valid relationship types and valid directions between pairs of CI types resulting in valid and consistent relationships in the CMDB.
- CMDB dependent relationship rules: Rules (hosting and containment rules) that are used for CI identification. You can view and modify dependent relationship rules in the CI Class Manager, after selecting a class from the class hierarchy and clicking Dependent Relationship.
- Suggested relationships: Rules that are based on existing suggested relationships in the Suggested Relationship [cmdb_rel_type_suggest] table. Suggested relationships are used in the CI relationship editor. You can view and modify suggested relationships in the CI Class Manager, after selecting a class from the class hierarchy and clicking Suggested Relationships.
- Reference rules: Rules that are used mostly by Cloud Management to represent all the possible valid combinations of pairs of referencing and referenced CIs in the service definition.
- Built-in valid relationships: The following relationships are pre-defined in the base
system as valid relationships:
- cmdb_ci_endpoint -> Applicative Flow To::Applicative Flow From -> cmdb_ci_endpoint
- cmdb_ci_endpoint -> Implement End Point To::Implement End Point From -> cmdb_ci
- cmdb_ci -> Use End Point To::Use End Point From -> cmdb_ci_endpoint
General behavior
- Relationship governance rules support inheritance.
For example, suppose that the suggested relationship cmdb_ci_appl Runs On::Runs cmdb_ci_hardware exists. Then a Runs On::Runs relationship between a cmdb_ci_appl_dot_net CI and a cmdb_ci_windows_server CI is valid. That is because .Net Application class inherits from the Application class and the Windows Server class inherits from the Hardware class.
- Duplicate relationship governance rules are not allowed.
- Relationship governance rules are not domain separated.
- It is allowed to have more than one relationship type between the same two CI types. For example, the following relationships are valid:
- cmdb_ci_appl Depends On::Used by cmdb_ci_service
- cmdb_ci_appl Receives data from::Sends data to cmdb_ci_service
Reports
A relationship between CIs is considered valid if it conforms to any of the relationship governance rules. Use the Relationship Health Dashboard to view reports about relationships health including relationships compliance with relationship governance rules. The 'Relationships not compliant with all relationship rules' report shows CI relationships that are not compliant with any of the relationship governance rules.