- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2022 03:57 AM
Hello,
We're new to ServiceNow and are working on an integration using the REST API.
We connect and can get information about the connected user - we'd like to verify the version of the instance we're connected to - Rome, Tokyo etc is there a table with this information?
I was hoping in the REST API Explorer ServiceNow Instance (Instance) would have the information.
Thanks,
Dave
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2022 05:09 AM
The glide.war should reflect the correct and installed version on the instance. If there is a wrong value it means an upgrade has gone wrong.
I would assume the com.glide.embedded_help.version would display according to the instance family name, but I don't know when this updates, so I would use glide.war to cross-check. But from what I can read that property might also be enough, I haven't seen it different from the version that was running (just did a few checks on some instances).
Best regards,
Sebastian Laursen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2022 04:15 AM - edited 11-14-2022 04:16 AM
Check if you can get it by using the sys_properties table. There are some version properties (glide.war, glide.war.assigned, glide.buildtag.last, glide.builddate.last)
If we look up glide.war (which should be the current version):
https://YOUR_INSTANCE.service-now.com/api/now/table/sys_properties?sysparm_query=name=glide.war
It should return something like this in the JSON, and look for the value:
Best regards,
Sebastian Laursen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2022 04:36 AM
Hello,
Great thanks for the reply - I see that's the version for Glide - "The ServiceNow Glide classes expose JavaScript APIs that enable you to conveniently work with tables using scripts."
Is it possible for the Glide component version to be a different version to the core ServiceNow product?
I notice there's a com.glide.embedded_help.version which has the simple name Tokyo as the value.
Thanks,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2022 05:09 AM
The glide.war should reflect the correct and installed version on the instance. If there is a wrong value it means an upgrade has gone wrong.
I would assume the com.glide.embedded_help.version would display according to the instance family name, but I don't know when this updates, so I would use glide.war to cross-check. But from what I can read that property might also be enough, I haven't seen it different from the version that was running (just did a few checks on some instances).
Best regards,
Sebastian Laursen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2022 06:31 AM
Bit odd that ServiceNow doesn't just have a proper version property for the instance rather than this cobbled mess of date, release name, "glide" and ".zip".
Looks like this is the official way to get the version though - thanks for your help!