Domain separation

  • Release version: Zurich
  • Updated July 31, 2025
  • 4 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 Domain Separation

    Domain separation in ServiceNow enables the logical segmentation of data, processes, and administrative tasks into distinct domains, enhancing data visibility and access control. This feature is particularly significant in the Configuration Management Database (CMDB) Identification and Reconciliation (IRE) process, where domain separation ensures that operations respect user domain boundaries.

    Show full answer Show less

    Key Features

    • Modes of Operation: There are two modes for domain separation in IRE:
      • Strict Mode: Only CIs with the same domain ID as the logged-in user are processed. Duplicates across domains are ignored.
      • Platform Domain Separation Mode: Allows parent domains to access CIs in child domains. This mode is for advanced users and can introduce risks if not managed carefully.
    • System Property Control: Use the glide.identificationengine.platformdomainseparationenabled property to toggle between the two modes. The default setting is false.
    • Identification Process: The system automatically uses the logged-in user's domain ID without needing to specify it in API payloads. Duplicate detection and CI updates operate based on the enabled mode.

    Key Outcomes

    By effectively managing domain separation, ServiceNow customers can ensure compliance with data access policies while optimizing CI management across domains. Understanding the implications of each mode allows for better decision-making regarding CI identification and reconciliation processes, minimizing the risk of duplicate CIs and maximizing operational efficiency.

    Domain separation is supported in the CMDB Identification and Reconciliation feature. Domain separation enables you to separate data, processes, and administrative tasks into logical groupings called domains. You can control several aspects of this separation, including which users can see and access data.

    Domain separation is enforced during the CMDB Identification and Reconciliation (IRE) process. IRE processes are domain aware and domain separation is applied to the Identification and Reconciliation rules.

    For more information about domain separation, see domain separation.

    How domain separation works in Identification and Reconciliation

    Domain separation in the identification engine is enforced when users activate the domain separation plugin. Domain separation for IRE has two modes of operation in domain separated instances:
    • Strict mode (enabled by default): In this mode, identification processes only those CIs in which the domain ID is identical to the domain of the currently logged in user. If duplicate CIs exist across domains (including parent and child domains), then those CIs aren't considered duplicate CIs because their domain IDs don't match.
    • Platform domain separation mode (disabled by default): In this mode, IRE follows the platform domain separation behavior. So during identification, parent domains can access all CIs within their child domains or any of the domains it has visibility into. For more information, see Visibility domains and Contains domains.

      Platform domain separation mode is intended to be used by advanced users for very specific or advanced use cases.

      Note:

      Platform domain separation mode introduces some risks that are greater on upgraded instances and much lesser on zBooted instances.

      Depending on how IRE processes are configured on a domain separated instance, setting IRE to use platform domain separation mode might result in unexpected and undesirable behavior if not used carefully. One of the risks is if enabling platform domain separation mode is followed by running IRE processes from a different domain than the one on which IRE processes were previously run. In this situation, CIs that were previously identified as unique, might get identified as duplicate CIs and might cause some applications to start failing.

      If any application is already using IRE effectively in domain separated environment, then there's no advantage in switching to platform domain separation mode that might create some risk.

    Use the glide.identification_engine.platform_domain_separation_enabled system property to switch between those two modes for IRE domain separation. By default, this property is set to false.

    Platform domain separation mode

    Set the system property glide.identification_engine.platform_domain_separation_enabled to true to enable the platform domain separation mode for IRE processing. With the platform domain separation mode, parent domains can access all of their child domains during IRE processing. For example, IRE can detect a matching CI in a child domain and then update that CI instead of creating a new one.

    In the platform domain separation mode for IRE:
    • IRE run from a parent domain can access CIs contained within their domain, child domains that are lower in the domain hierarchy, and global domain.​
    • IRE run from the global domain can access all CIs.
    • Visibility domains and Contains domains are supported.
    Note:
    When platform domain separation mode is enabled, there might be a sudden increase in IRE detection of duplicate CIs.

    Domain separation during the Identification Process

    Domain separation during the Identification process is enforced as follows:
    • Regardless of the setting of the glide.identification_engine.platform_domain_separation_enabled system property:
      • Domain IDs don't need to be explicitly sent in the input payload of the identification engine APIs. Internally, the identification engine causes the current domain ID of the user to call the identification engine APIs.
      • During matching, if no records are found and a CI is inserted, the CI domain ID is the same as the domain ID of the logged-in user’s domain. When updating a CI, the CI domain ID doesn't change.
      • During matching, if duplicates are found, De-Duplication tasks created in the [reconcile_duplicate_task] table have the same domain ID as of the duplicate CIs.
      • During matching, if reclassification of the CI isn't allowed, reclassification tasks are created in the [reclassification_task] table, with the same domain ID as the CI for which reclassification is needed.
    • When the system property glide.identification_engine.platform_domain_separation_enabled is set to false:
      • Only CIs that have the same domain ID as the currently logged-in user's domain are used during matching.
      • Duplicate CIs that exist across domains (including parent and child domains) aren't considered as duplicate CIs by IRE.
    • When the system property glide.identification_engine.platform_domain_separation_enabled is set to true:
      • Duplicate CIs that exist across domains (such as parent and child domains) are considered as duplicate CIs by IRE.
      • CIs from the logged in user domain and child domains are used during matching.

    Domain separation and Identification Rules

    The identification rules and identification inclusion rules used during the identification process are always defined at the global level. For example, the following tables don't have a sys_domain field:
    • Identifier (cmdb_identifier)
    • Identifier Entries (cmdb_identifier_entry)
    • Related Entries (cmdb_related_entry)
    • Identification Inclusion Rules (cmdb_ie_active_config)

    Domain separation and Reconciliation Rules

    The reconciliation definition rules that are used during the reconciliation process can be defined for different domains. For example, the following tables do have sys_domain, sys_overrides, sys_domain_path fields:
    • Reconciliation Definition (cmdb_reconciliation_definition)
    • Datasource Precedence (cmdb_datasource_precedence)
    • Data Source Staleness Definitions (cmdb_datasource_staleness)