Relationship governance rules
Summarize
Summary of Relationship governance rules
Relationship governance rules in ServiceNow's CMDB ensure consistency and validity when modeling relationships between configuration items (CIs). These rules restrict which relationship types and directions are allowed between specific CI types, preventing inconsistencies caused by different applications like Discovery and Service Mapping that might otherwise represent the same relationships differently. This leads to a more accurate and unified CMDB.
Show less
Key Features
- CMDB Dependent Relationship Rules: These include hosting and containment rules used for CI identification. They can be viewed and modified in the CI Class Manager under Dependent Relationship settings.
- Suggested Relationships: Based on existing relationships in the Suggested Relationship table, these rules help guide valid relationship creation in the CI relationship editor. They are manageable via the CI Class Manager under Suggested Relationships.
- Reference Rules: Primarily used by Cloud Management, these rules define valid combinations of referencing and referenced CIs within service definitions.
- Built-in Valid Relationships: The system includes predefined valid relationships such as those between endpoints and applicative flows, or endpoints and CIs.
- Inheritance Support: Relationship governance rules support class inheritance, allowing relationships valid at a parent class level to apply to inherited child classes.
- Multiple Relationship Types Allowed: Different valid relationships can exist simultaneously between the same two CI types, reflecting different interaction types.
- Governance Rule Integrity: Duplicate relationship governance rules are prohibited, and all rules are not domain separated, ensuring consistent application across domains.
Key Outcomes
- Consistent CMDB Relationships: Ensures all CI relationships comply with defined valid types and directions, reducing errors and modeling inconsistencies.
- Improved CI Relationship Health Monitoring: The Relationship Health Dashboard provides reports on relationships' compliance, highlighting non-compliant CI relationships for corrective action.
- Actionable Relationship Management: Customers can view, modify, and create relationship rules and suggested relationships directly through the CI Class Manager, facilitating tailored governance aligned with organizational needs.
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.