Instance Version Table (REST API)

davidhomer
Tera Contributor

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

 

1 ACCEPTED SOLUTION

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

View solution in original post

5 REPLIES 5

Sebastian L
Mega Sage

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: 

"value""glide-sandiego-12-22-2021__patch7a-09-20-2022_10-04-2022_1309.zip",

Best regards,
Sebastian Laursen

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

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

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!