gs.getProperty - where is this value coming from?

Mark94
Kilo Expert

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.

 

 

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

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

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

4 REPLIES 4

Jonatan4
Giga Guru

It is a system property, found in sys_properties.list

ramesh_r
Mega Sage

Hi Mark,

 

Did you checked this table 'sys_properties'

 

 

Thanks

Ramesh R

Mark Roethof
Tera Patron
Tera Patron

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

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Mark94
Kilo Expert

Brilliant. Thank you for the quick responses!