Relationship governance rules

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Relationship Governance Rules

    Relationship governance rules in ServiceNow's Configuration Management Database (CMDB) ensure consistency and validity when modeling relationships between configuration items (CIs). These rules help prevent the selection of invalid relationship types or directions between specific CI types, addressing inconsistencies often generated by applications like Discovery and Service Mapping.

    Show full answer Show less

    Key Features

    • CMDB Dependent Relationship Rules: Used for CI identification, these rules include hosting and containment relationships. They can be viewed and modified in the CI Class Manager.
    • Suggested Relationships: Based on existing relationships, these rules assist in the CI relationship editor and can be managed within the CI Class Manager.
    • Reference Rules: Primarily utilized by Cloud Management, these rules represent valid combinations of referencing and referenced CIs.
    • Built-in Valid Relationships: Pre-defined relationships exist in the system, ensuring foundational structure and consistency.
    • Inheritance Support: Relationship governance rules support inheritance, allowing valid relationships between subclasses of CIs.
    • Duplicate Rules Not Allowed: The system prevents the creation of duplicate relationship governance rules.
    • Domain Separation: These rules are not domain separated, enabling multiple relationship types between the same CI pairs.

    Key Outcomes

    By adhering to relationship governance rules, customers can maintain valid and consistent CI relationships, enhancing data integrity within the CMDB. The CMDB dashboard provides reports on relationship health, including compliance with governance rules, helping customers identify and rectify any issues with CI relationships effectively.

    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.

    Relationship governance rules consist of:
    • 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 CMDB dashboard to view reports about overall 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.