---
sourceDocument: Xanadu Platform Analytics
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/now-intelligence

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Platform Analytics

ft:clusterId :

    - par

bundleId :

    - par

workflow :

    - Platform


---

# Domain separation with Spotlight

# Domain separation with Spotlight {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

If you have domain separation enabled, Spotlight applies it during Spotlight
jobs.

## Domain of the Spotlight group {#domain-separation-spotlight__section_hjs_4ps_phb}

When you create a Spotlight group, you create it in the domain of the user that you are logged
in as when you create the group. For example, if you are a user in the ACME Products domain and
you create a Spotlight group, that group is created in the ACME Products domain. If you create a
Spotlight group as a user who is not a member of any domain, that Spotlight group is in the
Global domain.

You can copy a Spotlight group to other domains, as defined in ServiceNow AI Platform® domain separation.

## Session domain and Spotlight group domain {#domain-separation-spotlight__section_o4j_r1p_s3b}

If you are logged into a different domain than the domain of a Spotlight group, you cannot
edit that Spotlight group record. In this case, you can only copy the Spotlight group to another
domain.

## Spotlight criteria domains {#domain-separation-spotlight__section_ywj_vlw_qhb}

* When you create Spotlight criteria for a global Spotlight group, the criteria are created in the domain of the logged-in user.
* When you create Spotlight criteria for a Spotlight group that is in a specific domain, the Spotlight criteria are created in that domain.
{#domain-separation-spotlight__ul_ws2_tjq_hhb}

Messages inform you of the domain situation when you create Spotlight criteria.

## Evaluating scores with domain separation {#domain-separation-spotlight__section_cvx_dts_phb}

If the Spotlight group evaluates platform data, the main indicator and all criteria are queried according to the domain and domain visibility of the Run As user. If the Spotlight group evaluates records from a snapshot, the main indicator and indicator-based criteria use the Performance Analytics [snapshot](https://servicenow-prod.fluidtopics.net/KzO1fGsm6GUEygdn1yjLBA#gloss-snapshot "A list of table records (sys_ids) that are collected at the time that the indicator scores for those records are collected.") that is collected specifically for the Run As user domain. The domain visibility of the Run As user does not apply to indicators in this case. (Query-based criteria always evaluate platform data, even when the Spotlight group is configured to evaluate snapshots. Therefore, query-based criteria always follow both the domain and the domain visibility of the Run As user.)  
Note:  
The snapshot of each indicator can differ depending on the domain configuration of the Performance Analytics [data collection job](https://servicenow-prod.fluidtopics.net/KzO1fGsm6GUEygdn1yjLBA#gloss-data-collector "A scheduled job that collects data from one or more indicator sources to produce indicator scores.") that creates the snapshot.
**Related concepts**   

* [Evaluating a snapshot or platform data](https://servicenow-prod.fluidtopics.net/e4VN_L5iJfOBj~GEjptUqA#using-snapshot-or-real-time-data "When a Spotlight job runs, it either evaluates a snapshot of collected records or it collects and evaluates data directly from the platform.")
* [Domain separation and Performance Analytics](https://servicenow-prod.fluidtopics.net/1biDE7sySEI5ZMhVhicMNw "Domain separation is supported for Performance Analytics. 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. Performance Analytics supports collecting scores from multiple domains and can be configured to enable domain-specific administration. Extended domain configuration functionality is available for customers with complex domains.")  
**Related tasks**   

* [Create a Spotlight group](https://servicenow-prod.fluidtopics.net/e4VN_L5iJfOBj~GEjptUqA#create-spotlight-group "Create a Spotlight group to define the records to evaluate. In the Spotlight group, you also set the threshold that the score of a record must exceed to trigger the creation of a Spotlight.")
* [Copy a Spotlight group to domains](https://servicenow-prod.fluidtopics.net/E5Gh9Vvbpqwj_pBv0GL_FQ "You can copy a Spotlight group to other domains, saving the effort of reproducing the group manually for each domain.")

