- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-08-2016 10:51 PM
Hello Everyone,
How we can find out the sys_id of the global domain.
Thanks
Arun
Solved! Go to Solution.
- Labels:
-
Instance Configuration

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-08-2016 11:00 PM
I think you just need to do this
var isGlobal = (current.sys_domain == 'global');
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-08-2016 11:00 PM
I think you just need to do this
var isGlobal = (current.sys_domain == 'global');
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-08-2016 11:13 PM
Thanks paul. It's working fine. But may i know the reason why global don't have any sys_id.
Thanks
Arun

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2017 05:56 PM
Stumbled on this one... as White is the absence of color, global is the absence of domain; therefore it's not a record like TOP thus no sys_id.