- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2019 06:32 AM
Hi,
I've inherited a script that has this line in it -
approversList.push(gs.getProperty('mycompanyname.other.approver')+"");
I'm trying to figure out where it's pulling the value of mycompanyname.other.approver from.
Can anyone help?
Many thanks.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2019 06:38 AM
Hi there,
gs.getProperty is a Server Side way to get the value stored in a system property.
Also have a look at:
https://developer.servicenow.com/app.do#!/api_doc?v=madrid&id=r_GS-getProperty_S_O
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2019 06:33 AM
It is a system property, found in sys_properties.list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2019 06:35 AM
Hi Mark,
Did you checked this table 'sys_properties'
Thanks
Ramesh R

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2019 06:38 AM
Hi there,
gs.getProperty is a Server Side way to get the value stored in a system property.
Also have a look at:
https://developer.servicenow.com/app.do#!/api_doc?v=madrid&id=r_GS-getProperty_S_O
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2019 06:45 AM
Brilliant. Thank you for the quick responses!