where to find a full list of ServiceNow properties? such as "instance_name"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2012 09:54 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2012 11:10 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2012 11:36 AM
Thanks Jim!
Almost forget ... according to "Sean's Law", it is all in Tables:
select "SCHEMA".OAUSER.sys_properties.* from "SCHEMA".OAUSER.sys_properties
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2012 11:38 AM
Thanks Jim!
Almost forgot... according to "Sean's Law" - everything is Table in ServiceNow:
select "SCHEMA".OAUSER.sys_properties.* from "SCHEMA".OAUSER.sys_properties
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2012 06:36 AM
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.