producer and current object definitions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2017 06:48 AM
Simple question. I have found the definition for all of the extensions for the Producer and Current objects when scripting in the past but am having difficulty finding them now. Can anyone provide a link to the list of extensions for the objects so I can see what options are available besides the .variables, .variable_pool, .redirect, etc. options?
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2017 07:38 AM
Hi Scott,
For producer, this may be what you looked at.
http://wiki.servicenow.com/index.php?title=Record_Producer
For the current object, for the most part it's going to have every field on the record it represents as an object, and then all of the gliderecord methods as well. Depending on your context, it may have other methods and properties.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2017 07:56 AM
I'm actually looking for a list of the extensions, much like you find for both the
Glide Record on http://wiki.servicenow.com/index.php?title=GlideRecord#gsc.tab=0
and Glide Form on http://wiki.servicenow.com/index.php?title=GlideForm_(g_form)#gsc.tab=0
I know it's out there but haven't been able to locate it since around a week ago.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2017 08:15 AM
The docs site has similar articles, so I'm not sure if this is where you saw it, but I don't know that I've ever seen an article that lists more than these related to record producers. For producer, I think the only properties you have are:
producer.redirect
producer.variable_name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2017 07:14 AM
Hmm, I assume there has to be Some kind of record of what fields are in the classes besides the variables you define for them/them inherit. I would think that list would include things like Name, Table name, Model, Application, Package, Active, Short Description, Description, etc as those are fields in the record producer. Thanks for the help, though, Brad