ServiceNow Using GlideQuery Instead of GlideRecord
"The GlideQuery API is an alternative to GlideRecord to perform CRUD operations on record data from server-side scripts.
The GlideQuery API lets you:
Use the GlideQuery API in scoped or global server-side scripts. When used within a scoped app, it must be prefixed with the global scope."
- Use standard JavaScript objects and types for queries and results.
- Quickly diagnose query errors with additional checks and clear error messages.
- Simplify your code by avoiding boiler-plate query patterns.
- Avoid common performance issues without needing deeper knowledge of GlideRecord.
Use the GlideQuery API in scoped or global server-side scripts. When used within a scoped app, it must be prefixed with the global scope."
Comments
Post a Comment