How can my script determine the version of ServiceNow that is running?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2015 04:48 PM
As the title says ... we use the Table API extensively and need a way to programmatically determine the ServiceNow version (we are running both Eureka and Fuji in different environments). Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2015 10:32 PM
If you want to do it from a client script the following should make it:
gel('mainBannerImage').title
using my developer instance as an example, the output will be:
"Powered by ServiceNow (HEAD (Fuji))"
I hope you like this solution
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2015 10:34 PM
The output of one from Eureka will be the following:
Powered by ServiceNow (HEAD (Eureka))
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 03:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 07:40 PM
Good day!
You can try this simple way:
//Check the current release of the instance:
gs.info(gs.getProperty('com.glide.embedded_help.version'));
//Check the current release and version of the instance:
gs.info(gs.getProperty('mid.version'));
Output:
*** Script: yokohama
*** Script: yokohama-12-18-2024__patch1-02-21-2025_03-05-2025_2133
Navigate to System Diagnostics > Stats > Stats to check the current release of the instance