Domain Separation AI agent

  • Release version: Australia
  • Updated July 20, 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 Visibility AI agent empowers Domain Admins to efficiently manage user domain visibility via guided conversational workflows within the Now Assist panel. It operates by performing validated actions on thesysuservisibilitytable, eliminating the need for manual table access or configuration. Core functionalities include listing, adding, and removing domain visibility for users, streamlining domain separation management in your ServiceNow instance.

    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 to access and operate the agent.
    • Role masking controls must be configured to allow appropriate user access to the AI agent.
    • Ensure necessary data access roles are granted to the AI agent to read relevant tables (e.g., itil role for Incident records) as required.

    Accessing the Domain Visibility AI agent

    • Navigate to All > AI Agent Studio > Create and manage, then select the AI Agents tab and choose Domain Visibility.
    • Alternatively, open the Now Assist panel, start a new interaction, and enter the prompt "domain visibility help" to initiate the agent.

    Key operations

    • List domain visibility for a user: View all domains a specified user can access by selecting this option and providing the user’s name.
    • Add domain visibility for a user: Grant a user access to a specific domain by providing the user name and domain name. The agent validates existence before adding access.
    • Remove domain visibility from a user: Revoke a user’s access to a domain by specifying the user and domain. The agent confirms existing visibility before removal.

    Verification

    All changes made through the AI agent reflect in the sysuservisibility table, which administrators can review to verify domain visibility assignments.

    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.