Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Usage of GlideImportSetLoader & GlideImportSetTransformerWorker API's from scoped Application

Arun Saravanan1
Kilo Contributor

Hi All,

We are working on a scoped application and as a part of use case would like to leverage below OOTB API's. 

  • GlideImportSetLoader
  • GlideImportSetTransformerWorker

I know it is not accessible from scoped application but can used by defining the logic in a global script include and calling it from my application. 

Since there is no documentation available for GlideImportSetLoader in the servicenow official site. As a developer are we allowed to this API's considering future support from servicenow ??

@Chuck Tomasi @Pradeep Sharma  Really need your guidance over here.

Thanks in advance.

-Arun

 

9 REPLIES 9

Ankur Bawiskar
Tera Patron

Hi Arun,

yes those APIs cannot be called from scoped app; you can include that in global scope script include and make it accessible from all scopes and then call it from your scoped app script

Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Is there any list where i can get what is available in global vs scoped application? 

Not everything is documented in ServiceNow docs.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Ankur Bawiskar
Tera Patron

Hi Arun,

please check below link;Existing scriptable APIs GlideImportSetRun, GlideImportSetTransformer, GlideTransformLog, and GlideImportLog now support scoped applications.

https://docs.servicenow.com/bundle/orlando-release-notes/page/release-notes/now-platform-administrat...

Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader