Domain separation and Notifications

  • Release version: Xanadu
  • Updated August 1, 2024
  • 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 Notifications

    Domain separation is supported in the ServiceNow Notifications application, allowing you to logically separate data, processes, and administrative tasks into domains. This separation enables control over user access and visibility of data within each domain. Notifications themselves are process-separated, not data-separated, and are triggered by specific record actions or events within the same domain or the global domain.

    Show full answer Show less

    However, domain separation is not supported for email accounts, meaning email sending and receiving are not domain-specific. Notifications triggered by subscription-based settings are also not domain-aware.

    How Domain Separation Works in Notifications

    • Process Separation: Notifications operate within domain boundaries during processing, ensuring that notifications triggered by record insertions, updates, or events are handled only if they belong to the same domain or the global domain.
    • Notification Triggers: Notifications can be triggered when records are inserted or updated, or when specific events tied to records are fired.

    Domains and Email Accounts

    • Email accounts do not support domain separation because each SMTP sender is unique and not domain-configurable.
    • Inbound email actions execute in the domain of the user who sent the email, which means the resulting records are created within that user's domain.
    • Be aware that having more than 20 email accounts can slow email reception.

    Practical Use Case and Solution

    If a notification is defined both in a specific domain and the global domain for the same event, users may receive duplicate emails. To resolve this, configure the sysoverrides field on the domain-specific notification to override the global notification settings.

    Additional Considerations

    The instance owner must configure business logic and data parameters per tenant to support proper domain separation. For example, an admin may require mandatory comments on record closure for one tenant but not for another.

    For further domain separation management, delegated administration can be used to control settings per domain.

    Domain separation is supported in the Notifications application. 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.

    Support level: Standard

    • Includes all aspects of Basic level support.
    • Application properties are domain-aware as needed.
    • Business logic: The service provider (SP) creates or modifies processes per customer. The use cases reflect proper use of the application by multiple SP customers in a single instance.
    • The instance owner must configure the minimum viable product (MVP) business logic and data parameters per tenant as expected for the specific application.

    Sample use case: An admin must be able to make comments required when a record closes for one tenant, but not for another.

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

    Overview

    Domain separation is specifically supported in Notifications but not in email accounts. Notifications are not data-separated but they are process-separated. Notifications are also triggered by specific actions.

    Note:
    Subscription-based notifications are not domain aware and cannot support domain-specific settings.

    How domain separation works in Notifications

    There are two basic components of domain separation and Notifications.

    • Notifications are process-separated (not data-separated).
    • Notifications are triggered in two main ways:
      1. When a record is Inserted or Updated

        Notifications with matching conditions AND in the same domain and global domain as the inserted/updated record are processed.

      2. When an event defined in the notification is triggered
        1. Events typically have a target record. For example, [incident.inserted] event references the incident record being inserted.
        2. When an event is fired, notifications configured for that event in the same domain and global domain as the event’s target record are processed.

    Domains and email accounts

    Domain separation is not supported in email accounts for these reasons:

    1. Sending mail: There is only one SMTP sender per account. This prohibits providing domains for each account, and they are not configurable.
    2. For receiving Inbound mail: You can set up multiple email accounts but cannot meaningfully set the domain of an inbound email action. Inbound Actions are processed in the domain of the user who sent the email. For example: User_A in Domain A sends an email to a ServiceNow email account which executes the “Create an incident” inbound email action. The resulting new incident created by the inbound action is in Domain A.
    To learn more see Inbound email actions.
    Note:
    If the number of email accounts exceeds 20, reception of email slows down.

    Use case

    If an instance is using the Domain separation plugin and a new email notification is defined for a domain that has the same event as the notification on the global domain, the user receives two emails for the same event.

    Solution: Set the [sys_overrides] field on the notification that belongs to the domain so it overrides the setting on global. For more information, see Delegated administration.