OBLYTECH Logo
OBLYTECH Logo

Setting Up and Administering Domain Separation in ServiceNow

Domain separation is set up in a sequence. An administrator requests the Domain Extensions Installer plugin, activates the Domain Separation plugin, builds the domain hierarchy, and adds a domain field to each custom table that needs separating. Domain pickers, delegated policies and scope properties come after that foundation is in place.

Request the plugins before any configuration

Domain support is switched on through the Domain Support – Domain Extensions Installer plugin. You request it from the Activate Plugin form on Now Support, naming the target instance, the plugin and a maintenance date and time. The plugin installs during that window, and the Installed tab in Application Manager confirms it. Your ServiceNow account manager can arrange activation on production and sub-production instances.

The order matters. Activating the Domain Separation plugin early in development, before other plugins, gives the best result. A late switch-on carries real risk. The domain column lands on the task table, existing records all move into the global domain, and reassigning them by script needs an established parent and child hierarchy. Much platform code, including business rules and workflows, also sits in global, which raises the risk further.

Build the domain hierarchy

A domain is a record in the domain table. Open All > Domain Admin > Domains, select New, and complete the form:

Field What to enter
Name A unique name for the domain
Type Vendor, Customer or MSP by default; you can add your own choices
Primary Tick for the top-level domain, which has children and no parent
Default Tick for the domain that serves as the default for the hierarchy
Parent The domain one level higher; without a value here the domain will not appear in the domain map
Active Tick to make the domain available
Description Free text explaining the purpose of the domain

The hierarchy changes through a contains relationship. Open the parent (container) domain, switch the domain scope between session and record scope if needed, choose Edit on the Contains Domains list, tick the child domains, then Save and Update. Contained domains inherit the settings of the container, and its users can see data in those domains and their children. Process behaviour is unchanged. The concepts behind these settings are covered in domain separation explained.

Separate a custom table by domain

Add a sys_domain field to any custom table you want separated. From the table’s list view, right-click the list header and choose Configure > List Layout. Under Create new field, enter sys_domain as the name and Domain ID as the type, then click Add and Save. Naming the field sys_domain is the shortcut: the system sets the type to Domain ID and the label to Domain, with no u_ prefix on the column.

Do not add domains to base system tables. Doing so needs thorough testing and new logic, and the source of those tables is often not open to customers.

To review what is separated, type “domain” in the All filter to open Domain Separated Tables. The list shows tables with an explicit sys_domain column and tables that take their domain from a referenced record through the domain_master attribute. Use Show Matching or Filter Out on the Column name menu to view one kind at a time.

Assign domains to individual records

By default, a user, group, department, location or CI record takes its domain from its company record. A domain administrator can tick the Managed domain check box on the record, pick a value in the Domain field, and click Update.

Decide which policy applies in a domain

Process administration lets you set domain-specific versions of client scripts, system policies, application and module names, application roles and module filters. Policies set lower in the hierarchy override policies set higher.

Enter the domain where a change belongs and edit the policy there. If you edit a policy held in a higher domain or in global, the system creates a new record for your current domain, leaves the original untouched, and sets the sys_overrides field to point at the record it overrides. Avoid editing a higher-level policy and then changing its Domain field. That creates no lower-level record, and the higher-level one is not kept either.

When a record loads, its own domain takes precedence over the user’s domain. If that domain holds no matching policy, the lookup climbs the hierarchy and falls back to global. Holders of the admin role can override ACL rules and pass all role checks, so grant that role with care.

Set domain scope with system properties

New domain separation activations restrict scope to the record’s domain for related data and processes. Two properties restrict scope to the record’s domain, and a third sets which domain’s business rules run on the domain table:

Property Default What it controls
glide.sys.domain.use_record_domain_for_processes true Limits processes to the record’s domain; business rules are processed from the domain record regardless
glide.sys.domain.use_record_domain_for_data true in activations from Fuji onward Limits related data, such as reference picker and related list results, to the record’s domain
glide.sys.domain.skip_domain_insert_businessrules true in activations from Jakarta; false in older implementations Decides whether business rules on the domain table follow the session domain or the new domain’s hierarchy

When either of the first two properties is true, four older properties are ignored, including glide.sys.domain.use_record_domain. Setting skip_domain_insert_businessrules to true also speeds up domain inserts.

Two user preferences, set by user administrators, shape the default view. glide.domain.session_scope, default false, switches the default scope to the user’s session domain when true, and users holding the domain_expand_scope role can still change scope. glide.domain.session_scope_notification, default true, shows a visual cue when a record’s values include an expanded domain scope.

The recommended approach is to domain-separate your tables and prefer the record’s domain over the session domain. Setting skip_non_global_businessrule_if_nodomain to false restores older behaviour that the recommendation does not support.

Give domain-specific application values

Application properties let an application hold a different value for each domain without new code. They rely on the System Application Property and System Application Property Value tables, which arrived in the Paris release. A lookup checks the application property table first and falls back to the System Property table when no entry exists. The Expand Domain Scope view of the value table lists the overrides together. Scoped applications are supported, and the scope name prefixes the property name when the property is not global.

Consider a first day of the week setting. The base system table may offer a single Day 1 option, Sunday, while an application property can keep Sunday for the parent domain and set Monday for a child. If these tables are missing, activate the Domain Extension Installer plugin.

Turn on domain selection menus

There are two menu formats. The domain selector appears in the Core UI header. The domain reference picker is a reference field in the Core UI header, and enabling it removes the global option. In Core UI, click the gear icon in the header, open the General tab and switch on Show domain picker in header. Turning on the picker enables the selector by default.

To add the reference picker, open sys_properties.list from the navigator, add glide.ui.domain_reference_picker.enabled set to true if it is missing, and refresh the browser. The Domain separation plugin must be active. Enabling the picker removes the global option, so the return arrow beside the reference field is the route back to the home domain.

Limit who can use the domain picker

By default, the domain picker in Next Experience is open to the ITIL role and to roles that include ITIL, such as admin. To change who sees it, add the glide.ui.polaris.domain_picker.role system property in sys_properties and list the permitted roles separated by commas, for example admin, itil. Removing a role from that list removes its access. The recommendation is to restrict the picker to admins.

Queue hierarchy changes into one job

Reparenting a domain starts a background job by default that corrects records in domain-separated tables. The Domain Job Manager lets you pause these jobs, queue several hierarchy changes and start the combined job when ready. A paused job resumes by itself after one hour unless you tick the option that stops automatic resumption, in which case you activate it manually.

Clean up inactive domains

Domain cleanup runs from All > Domain Admin > Cleanup Queue and needs the domain separation admin role. Select Prepare For Cleanup, choose the inactive leaf domains and Save. Each domain then reads Ready for Staging. Select Move to Staging and enter how many days to retain it. Once a domain reaches Staged and Deletion Planned, it cannot be removed from the queue. Before deletion, Preview Domain Data queues a scan of the domain’s metadata, so you can review its data footprint first.

Who may see decrypted technical data in a ServiceNow environment, and what does FedRAMP status not decide for export control?

An export review has to cover everyone who can read technical data in plaintext, including administrators and vendor support staff. FedRAMP status covers the security of a cloud offering. It does not decide who may obtain plaintext technical data or whether the 22 CFR 120.54 encryption conditions hold.

Start the review with plaintext access, not the data scope

An admin account can override ACL rules, so it belongs in the plaintext review even when the domain layout looks clean. Treat every admin account as a plaintext path in the export review, and do not rely on domain boundaries to rule it out.

Domain separation scopes visibility but does not settle export access

Domain separation controls which records, related data and processes a user sees, and which domain’s policies apply. It is a scoping control for the instance. It does not show who holds decryption capability, where keys are kept, or whether a support engineer in another country can open a record.

What the export review should cover

Work through each group that can reach plaintext technical data and record the answer for each.

  • Users and roles: which end users, groups and roles can read the data in plaintext, including any role that bypasses ACL checks.
  • Administrators: which platform, domain and delegated administrators can open the records or change the policies that expose them.
  • Vendor support staff: whether support personnel can reach plaintext, under what approval, and whether that access is logged and reviewed.
  • Decryption capability: who can obtain the means to decrypt, and whether any third party holds it.
  • Locations: where each of those people works, and where the data is stored, processed and transmitted.
  • Authorization: whether a license or other authorization covers each of those access paths.

What to request from the vendor in writing

Ask for written answers before any technical data goes into the instance.

  1. Which vendor personnel can access plaintext customer data, and under which conditions.
  2. Who controls the encryption keys, and whether the vendor can decrypt customer data without the customer.
  3. Which offering and service boundary the contract covers, and whether that matches the FedRAMP listing being relied on.
  4. Which support locations can reach the instance, and how that access is approved and recorded.

Where FedRAMP status stops in the export analysis

FedRAMP status tells you a cloud offering met a security baseline. It is the start of the export question, not the answer. As of November 2026, the 22 CFR 120.54 provisions on encrypted technical data depend on specific recipient and destination conditions. The end-to-end encryption definition also includes not giving decryption means to a third party. An ordinary claim of encryption at rest and in transit does not establish those conditions by itself. The common failure is treating a FedRAMP listing as the export answer.

Frequently asked questions

Which plugin should I request first?

Request the Domain Extensions Installer plugin. The Domain Separation plugin follows it, and activating that early in development reduces the performance and data risks that a late switch-on carries.

Can I add a domain field to a base system table?

Do not add a sys_domain field to base system tables. Adding domains to base system tables needs thorough testing and new logic, and the source of those tables is often closed to customers. Add a sys_domain field to your own custom tables instead.

Why does a user record show a domain I did not set?

Clearing the Managed domain field returns the record to its company’s domain, which is where user, group, department, location and CI records take their domain by default.

Can I cancel a domain deletion once it is staged?

Not from the cleanup queue. Once a domain reaches Staged and Deletion Planned, it cannot be removed from the queue, so confirm the domain is no longer needed before moving it to staging.