Domain Separation AI agent

  • Release version: Australia
  • Updated June 16, 2026
  • 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 AI agent

    The Domain Separation AI agent enables Domain Admins to efficiently manage user domain visibility through conversational, guided workflows within the Now Assist panel. This agent operates by interacting directly with thesysuservisibilitytable, performing validated domain visibility operations such as listing, adding, and removing user domain access without requiring manual table access or configuration.

    Show full answer Show less

    Prerequisites and Setup

    • The Domain Separation plugin must be installed and active on your instance.
    • AI capabilities need to be enabled.
    • You must be signed in with the Domain Admin role.
    • Proper role masking and security controls must be configured to allow the AI agent to access necessary data tables.

    Accessing and Using the Domain Visibility AI Agent

    To use the agent, open the Now Assist panel and start a new interaction with the prompt, "domain visibility help." The agent will present options to:

    • List all domain visibility for a user: View all domains a specified user can access.
    • Add domain visibility for a user: Grant a user access to a specific domain after validating user and domain existence.
    • Remove domain visibility from a user: Revoke a user’s access to a domain, ensuring the user currently has visibility before removal.

    All operations include validation steps and allow confirmation before changes are applied. Changes can be verified by reviewing the sysuservisibility table.

    Benefits for ServiceNow Customers

    This AI agent simplifies domain visibility management by providing a secure, user-friendly interface that reduces the need for manual table management. It helps Domain Admins quickly and accurately control user access across domains, improving administrative efficiency and reducing the risk of errors in domain visibility configurations.

    The Domain Visibility AI agent enables Domain Admins to manage user domain visibility using guided, conversational workflows in the Now Assist panel.

    Domain Separation AI agent overview

    The agent performs validated operations on domain visibility data without requiring direct access to domain visibility tables.

    Once enabled, the Domain Visibility agent exposes the following options to the admin:
    • List all domain visibility for a user
    • Add domain visibility for a user
    • Remove domain visibility from a user
    Note:
    The agent interacts directly with the sys_user_visibility table. All domain visibility operations (add, remove, list, query) are executed through this table. Admins do not need to open or configure the table manually.

    Prerequisites and setup

    Ensure the following requirements are met before using the AI agent:
    • The Domain Separation plugin is installed on your instance and active. For more information, refer to Domain separation plugin.
    • AI capabilities are enabled on the instance.
    • You are signed in with a Domain Admin role.

    Role masking

    Required role: Domain Admin.

    AI agents use role masking to determine which users can access them. Ones installed with Now Assist applications have specific roles that come included with the application. If you select Users with specific roles for user access, you must configure the security controls to include these roles. For the instructions to change the security controls, see Define security controls for an AI agent.

    In the data access settings, you must also add the necessary roles to enable reading of the tables for the records you want to evaluate for readiness. For example, you can add the itil role to the AI agent's list of approved roles so that it can access Incident records.

    Accessing the Issue Readiness AI agent

    To access the AI agent:
    1. Navigate to All > AI Agent Studio > Create and manage.
    2. Go to the AI Agents tab.
    3. Select Domain Visibility.

    Access the AI agent

    1. Open the Now Assist panel.
    2. Start a new interaction.
    3. Enter the prompt, "domain visibility help."

    The agent displays the available domain visibility operations and guides you through the selected task.

    List all domain visibility for a user

    Use this operation to view all domains a user can access.

    1. Select List domain visibility from the agent’s options.
    2. Provide the name of the user whose domain visibility you want to view.

    The agent retrieves all domain visibility entries associated with the user.

    Add domain visibility for a user

    Use this operation to grant a user visibility to a specific domain.

    1. Select Add domain visibility from the agent’s available options.
    2. Provide the requested inputs:
      • User name
      • Domain name
    3. The agent validates that the specified user and domain exist.
    4. Confirm the user name and domain name and that you want to add the visibility for the user.

    The agent adds visibility for the specified domain to the specified user.

    Note:
    You can verify this by checking the sys_user_visibility table.

    Remove domain visibility from a user

    Use this operation to revoke a user’s visibility to a specific domain.

    1. Select Remove domain visibility from the agent’s available options.
    2. Provide the requested inputs:
      • User name
      • Domain name
    3. The agent validates that the specified user and domain exist and that the user currently has visibility to the specified domain.

      If no matching visibility exists, the agent reports that there is nothing to remove.

    4. If visibility does exist, confirm the user name and domain name and that you want to remove the visibility for the user.

    The agent removes visibility for the specified domain from the specified user.

    Note:
    You can verify this by checking the sys_user_visibility table.