Domain separation and AI Search

  • Release version: Washingtondc
  • Updated February 4, 2025
  • 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 Domain Separation and AI Search

    Domain separation in the ServiceNow AI Search application allows users to manage data visibility and access across different domains. While the AI Search application tables do not support domain separation, user search queries respect domain restrictions based on indexed records from the ServiceNow AI Platform.

    Show full answer Show less

    Key Features

    • Indexed Content Filtering: When indexing content, AI Search applies a filter based on the current session domain, ensuring that only records visible in that domain are included in search results.
    • Domain Management: AI Search stores the sysdomain field values during indexing, and for child tables, it derives the domain from referenced parent records.
    • Manual Domain Updates: Users can manually update indexed domains for referenced tables through full table reindexing or by configuring field settings for automatic updates.

    Key Outcomes

    By utilizing domain separation, ServiceNow customers can enhance data security and ensure that users only access relevant records based on their domain. This feature streamlines search queries and maintains clarity in data management across different domains, thereby improving overall efficiency within the ServiceNow AI Platform.

    Domain separation is unsupported for the AI Search application tables, but user search queries respect domain restrictions from indexed ServiceNow AI Platform® table records. 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.

    Note:
    Refer to the Overview and following sections for details on how AI Search search queries respect domain settings from indexed records.

    Support level: No support

    • The domain field may exist on data tables but there is no business logic to manage the data.
    • This level is not considered domain-separated.

    For more information on support levels, see Application support for domain separation.

    AI Search domain separation overview

    AI Search enables users to index and search content from records in ServiceNow AI Platform tables. The AI Search application tables and properties don't support domain separation, but user search queries respect domain settings from indexed content as described in the following sections.

    Domain separation in indexed content and search queries

    When indexing searchable content from a ServiceNow AI Platform table, AI Search stores the sys_domain field values for records on the source table and referenced tables.

    If domain separation is enabled, AI Search applies a filter for the current session domain to every search query. This filter excludes records that aren't visible in the session domain. Only records visible in the session domain appear as search query results.

    For child tables that have the domain_master attribute set, both indexing and search use the appropriate reference field to derive the child record domain from a referenced parent record.

    Restrictions apply to referenced records in search queries, as summarized in the following table.

    Condition Behavior
    Referenced record isn't visible in current session domain
    • Search queries don't match content from the referenced record
    • Filtering on the reference field has no effect on search results
    • Faceting on the reference field has no effect
    Referenced record domain differs from parent record domain Search result records don't display the reference field

    Indexing changes to record domains

    AI Search automatically updates indexed domains for records in tables configured as indexed sources.

    AI Search doesn't automatically update indexed domains for referenced tables. You can update the indexed domain for a referenced table in either of the following ways.

    Use case Action
    Perform a one-time update of domain field values for a referenced table

    Perform a full table reindex for the indexed source that includes the affected table.

    For details on this procedure, see Perform a full table index or reindex for a single AI Search indexed source.

    Enable automatic updating of domain field values for a referenced table

    Create a dot_walk_fields field setting for the reference field, specifying the sys_domain,sys_domain_path domain fields as the attribute value.

    For full steps for this task, see Enable automatic domain updates for a referenced table.