Get undocumented Service-now class information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2009 06:27 PM
Hi everyone,
I'm not sure how you deal with undocumented service-now classes. I wrote a simple global business rule which will list all the available constructors and methods of service-now classes.
Create this Global business rule with the attached script.
Normally these classes start with "Packages.com". Few interanl service now classes are
Packages.com.glide.schedules.Schedule
Packages.com.glide.glideobject.GlideDateTime
Go to
System Definition --> Scripts - Background
getClassInfo("com.glide.glideobject.GlideDateTime")
Click on "Run script" button.
it will List all constructors and Methods for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2011 07:38 PM
😞 Doesn't work anymore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2011 10:26 PM
I will bless the day that they put something like javadocs online...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2013 06:51 AM
Hi Amit,
Since SN disabled this functionality, do you happen to have a list of methods / constructors for GlideSchedule / Packages.com.glide.schedules.Schedule by any chance?
Or for GlideScheduleDateTimeSpan / Packages.com.glide.schedules.ScheduleDateTimeSpan. What I am trying to do is get the exact "schedule span" matching the date / dates I'm checking against.
Thanks,
Cosmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2013 06:56 AM
Does anyone else happen to have more info on Packages.com.glide.schedules.Schedule by any chance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2013 12:02 PM
This solution should work
for(var members in new GlideSchedule())
gs.print(members);
Which will list out all public members of GlideSchedule instance. so you can pick getter/setter methods and experiment.
Please let me know.
Thanks
Srinivas Thelu