---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Domain separation and Build Agent

# Domain separation and Build Agent {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) 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 and Build Agent

Domain separation in ServiceNow enables the segregation of data, processes, and administrative tasks into logical domains, controlling user access and visibility.
Build Agent supports domain separation by creating standard ServiceNow metadata (tables, business rules, ACLs) that operate within domain-separated environments when this feature is active on the instance.
This capability helps organizations maintain data isolation across different domains while using Build Agent-generated applications.
Show full answer Show less  

## Key Features

* **Platform-level configuration:** Domain separation is enabled and managed by a ServiceNow AI Platform administrator through the Domain Support - Domain Extensions plugin and domain hierarchy setup. Build Agent does not configure domain separation but creates compatible metadata.
* **Scoped applications:** Build Agent creates applications with their own namespace, allowing the platform to manage domain visibility automatically via the `sysdomain` field.
* **Data model support:** Tables extending domain-separated base tables inherit domain columns automatically; queries are filtered by domain unless elevated privileges are granted.
* **Fluent SDK integration:** Supports setting the `sysdomain` field on records and APIs, and reading/writing `sysoverride` fields for domain-specific overrides without altering base records.
* **Metadata compatibility:** Supports creation of tables, business rules, and scripts that function within the domain context of the current session.

## Roles and Responsibilities

* **Instance Owner:** Manages domain access to applications, configures domain-default values, controls domain-specific business rule overrides, and defines global versus domain-specific logic.
* **Tenant Domain Administrator:** Manages records within their domain and child domains, configures domain-specific operational values, but cannot modify application metadata unless explicitly allowed.

## Special Conditions and Considerations

* Build Agent does not directly configure domain separation; this requires platform administrator action.
* Flows created by Build Agent run within the domain context of triggering records; cross-domain flows need additional design and configuration.
* Global scope metadata is visible across all domains by default, whereas scoped applications enhance domain isolation.

## Practical Implications for ServiceNow Customers

ServiceNow customers using Build Agent can leverage domain separation to maintain clean data segregation and security boundaries across multiple domains. By understanding the roles and configuration responsibilities, customers can ensure proper data visibility and control. The integration with the Fluent SDK allows for advanced, domain-aware development and automation. Customers should coordinate with their platform administrators to enable and configure domain separation to fully benefit from these capabilities.  
Domain separation is supported for Build Agent. 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.
Build Agent creates standard ServiceNow metadata, such as tables, business rules, and access control lists, that participates in domain separation when domain separation is active on the instance. Domain separation is a platform-level
feature configured by a ServiceNow AI Platform administrator, not by Build Agent.

Build Agent creates scoped applications with their own namespace. When domain separation is active, the platform manages domain visibility of application data automatically through the
`sys_domain` field.

## How domain separation works in Build Agent {#ba-domain-separation__section_qln_lzq_ljc}

Domain separation configuration occurs at two layers.

Instance level
:   A platform administrator activates the Domain Support - Domain Extensions plugin (com.glide.domain.msp_extensions) and configures the domain hierarchy through Domain Admin. The configuration is outside the scope of Build Agent.

Application level
:   Build Agent creates the application metadata that operates within a domain-separated environment. After you install the application, a platform administrator configures domain separation settings for any
    new tables and assigns roles to the appropriate domains.

ServiceNow Fluent SDK level
:   The ServiceNow Fluent SDK supports setting the `sys_domain` field directly on records and on APIs that support domain separation. You can also read and write `sys_override` fields to
    apply domain-specific overrides through the ServiceNow SDK. In addition to tables, you can create other metadata objects in specific domains.

Build Agent supports creating the following in a domain-separated environment.

* Tables that inherit domain separation when they extend a domain-separated parent table
* Business rules and scripts that run within the domain context of the current session
* Fluent SDK records and APIs that set the `sys_domain` field and use `sys_override` fields in domain-separated environments

{#ba-domain-separation__ul_dy2_ggg_rjc}

The following general guidelines apply to data model behavior when working with Build Agent:

* When Build Agent creates a table that extends a base system table with `sys_domain`, for example `task` or `cmdb_ci`, the domain column is automatically inherited. Don't redeclare it.
* GlideRecord queries in scripts that Build Agent creates are automatically filtered by domain. Queries that must run across domains require elevated privileges configured by a platform administrator.
* Reference fields that point to a domain-separated table display only records visible in the current domain.
{#ba-domain-separation__ul_pp1_1gg_rjc}

## Roles and responsibilities {#ba-domain-separation__section_ey2_ggg_rjc}

The following roles and responsibilities apply when administering domain separation for applications that Build Agent creates.

Instance owner
:
    * Controls which domains can access the application, configures domain-default field values.
    * Manages domain-specific overrides for business rules.
    * Determines which business logic applies globally vs. per domain.
    {#ba-domain-separation__ul_wh1_3gg_rjc}

Tenant domain administrator
:
    * Creates, updates, and deletes records within their domain and any child domains.
    * Configures domain-specific values such as categories, assignment groups, and approval workflows.
    * Can't modify application metadata including business rules, access control lists, or table structure unless the application explicitly permits it.
    {#ba-domain-separation__ul_qzm_kgg_rjc}

## Special conditions {#ba-domain-separation__section_rln_lzq_ljc}

Build Agent domain separation support includes the following conditions and exceptions.

* Build Agent creates application metadata but can't configure domain separation settings directly. A ServiceNow AI Platform administrator must configure domain hierarchy, table participation, and visibility rules on the instance.
* Flows that Build Agent creates execute in the domain context of the triggering record. Flows that must operate across domains, such as an escalation from a tenant domain to a global domain, require additional design and platform administrator configuration.
* Metadata created in global scope is visible across all domains by default. Scoped applications provide better domain isolation.
* When using the Fluent SDK, you can set `sys_domain` on records and APIs that support domain separation. The `sys_override` field is also supported, which lets you apply domain-specific field value overrides through the SDK without modifying the base record.
{#ba-domain-separation__ul_gvt_ngg_rjc}
**Related topics**   

* [Domain separation for service providers](https://www.servicenow.com/docs/access?context=domain-sep-landing-page&version=brazil&pubname=brazil-platform-security&ft:locale=en-US)

