What are Extensions in - GlideScriptedExtensionPoint ?

Raji10
Tera Contributor

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.

6 REPLIES 6

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

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.

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP