how to identify instance version in servicenow instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2017 09:58 AM
how we can we identify which instance we are working in serviceNow Instance
- 36,054 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2017 10:02 AM
Hello,
You can perform a stats.do to know the the current version.
https://yourinstance.service-now.com/stats.do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2017 10:06 AM
Hi,
You can get the instance name property.
gs.getProperty("instance_name");
Regards,
Niklas

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2017 10:37 AM
Hello Suman,
Goto left navigation - Enter the key words " stats".
Click on stats and then you will find the version of Instance.
Or Navigate to system diagonatics>Stats.
Then you will find the version of the Instance.
ServiceNow Commnunity MVP -2018 class.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2017 11:20 AM
Hello again,
You want the instance or the version? If you want the version you can capture the latest applied update from the update history.
var gr = new GlideRecord('sys_upgrade_history');
gr.orderBy('upgrade_finished');
gr.query();
while (gr.next()) {
var version = gr.to_version;
}
gs.print (version);
Regards,
Niklas