CIs Domain Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2025 10:43 PM
I am fetching the data from a Data Stream which is in global domain, and the affected CIs are creating in global domain, but in execution it is showing different domain.
Where is the issue? I have checked all the steps and scripts it is not set explicitly anywhere.
Only in the dictionary entry it is set to default Global.
Please help me out.
Thank You.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 12:31 AM
Hi @pranavagarw ,
You mentioned dictionary entry is set to global, but execution happens in a different domain:
1.Check if any other script or data policy is modifying the domain value during execution. Enable logging and debug mode to track changes.
2. Domain scope change in execution context: Debug the domain value during execution using.
gs.log(gs.getUser().getDomain());
3.Domain separation is enabled: if domain separation is enabled in ServiceNow, the execution domain can automatically change.
4. If you are fetching data through a BR or SI, It might be switching the domain context.
If this answer helped, please mark it as helful so other can benifit too!
Thank you,
Ananya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 08:31 AM
@pranavagarw It is not clear what the expectations are from the question but please refer to https://www.servicenow.com/docs/bundle/yokohama-servicenow-platform/page/product/configuration-manag... on how domain separation works in IRE,