What are Extensions in - GlideScriptedExtensionPoint ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2019 09:44 AM
Hi All,
I just wanted to understand what does the method getExtensions returns in the GlideScriptedExtensionPoint?
Why the methods defined in the extension point has to run N number of times (Extensions)?
For example:
var eps = new GlideScriptedExtensionPoint().getExtensions("CanReserve");
eps.forEach(function(ep)
{
if(ep.handles(thing))
{
canReserve = ep.canReserve(thing,from,until,by);
}
});
Thanks & Regards,
Raji.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2019 11:10 AM
Hi,
May be a reserved word. But need to understand this in detail. Due to lack of info on this i can;t comment. but we can try changing it.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2020 05:37 AM
Hi Raji,
Did you get the answer for your doubt, I am also trying to understand concept of extension point for my use case but stuck with the same query.
Could you please help me with the answer if you know.
Thanks in Advance.
Regards,
Abhijit
ServiceNow MVP