where to find a full list of ServiceNow properties? such as "instance_name"

stanley_he
Kilo Contributor

where to find a full list of ServiceNow properties? such as the "instance_name" used in following sample code

var thisInstanceName = gs.getProperty("instance_name");
gs.log("(gs.log) =====================thisInstanceName: " + thisInstanceName );

Thx!

4 REPLIES 4

Jim Coyne
Kilo Patron

In the System Property table. Type sys_properties.list in the Navigation filter and the table will appear.

http://wiki.service-now.com/index.php?title=Adding_a_Property


stanley_he
Kilo Contributor

Thanks Jim!
Almost forget ... according to "Sean's Law", it is all in Tables:
select "SCHEMA".OAUSER.sys_properties.* from "SCHEMA".OAUSER.sys_properties


stanley_he
Kilo Contributor

Thanks Jim!
Almost forgot... according to "Sean's Law" - everything is Table in ServiceNow:
select "SCHEMA".OAUSER.sys_properties.* from "SCHEMA".OAUSER.sys_properties


Not applicable

Note that not every property is actually an entry in the sys_properties table, and just because something is there you shouldn't rely upon it unless we've documented its existence and said what it really means.

Those we're standing behind are documented in plugins' documentation, or in the "every thing else" list at http://wiki.service-now.com/index.php?title=Additional_Glide_Properties

(That's just good practice.)

and there's nothing stopping you adding your own, and referencing them from your own scripts.