where can i find the functions of a GlideScriptable object?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2017 05:28 AM
In my case i want to see what is inside GlideECBDownloader, what function it has and what do they do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2017 08:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2017 09:14 AM
i was already there but what i want is to see in servicenow the code in one of those script objects
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2017 10:59 AM
Yes, I see what you mean. Since the instances aren't constructed, but only obtained by traversal, it's hard to find them by searching sys_script_include.script, sys_update_xml.payload, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2017 11:07 AM
I ran this background script:
var o = new GlideECBDownloader();
for (f in o) {
gs.print(f);
}
and I got this:
*** Script: getError
*** Script: insertRates
*** Script: getClass
*** Script: wait
*** Script: download
*** Script: hashCode
*** Script: equals
*** Script: notifyAll
*** Script: toString
*** Script: error
*** Script: class
*** Script: notify
This wasn't as helpful:
var o = GlideECBDownloader;
for (f in o) {
gs.print(f);
}