List all the GlideRecord methods

SeemaJenitT
Tera Contributor
 
6 REPLIES 6

Chaitanya ILCR
Kilo Patron

Hi @SeemaJenitT ,

 

 

here is the docs link

https://www.servicenow.com/docs/bundle/washingtondc-api-reference/page/app-store/dev_portal/API_refe...

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

Ankur Bawiskar
Tera Patron
Tera Patron

@SeemaJenitT 

you can easily get answer to this on Docs or AI tool.

GlideRecord 

GlideRecord - Global 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Aniket Chavan
Tera Sage
Tera Sage

Hello @SeemaJenitT ,

You can refer to the links already shared by the experts — they’ve covered most of what you’ll need.

 

Just to add on, GlideRecord is at the core of server-side scripting in ServiceNow — whether you're querying, inserting, updating, or deleting records. Some of the most commonly used methods include:

  • addQuery()
  • get()
  • getRefRecord()
  • insert()
  • update()
  • deleteRecord()
  • addEncodedQuery()
  • orderBy(), orderByDesc()
  • setLimit(), getRowCount()

These methods are used across Business Rules, Script Includes, Scheduled Jobs, etc. While a few (like get() using sys_id) can be used client-side, most are meant for server-side use.

 

In addition, I’d recommend checking out this GlideRecord Query Cheat Sheet — it summarizes all these above methods and more. Really helpful if you’re looking for quick examples or just getting started with scripting in ServiceNow.

 

🔹 Please mark Correct if this solves your query, and 👍 Helpful if you found the response valuable.

 

Best regards,
Aniket Chavan
🏆 ServiceNow MVP 2025 | 🌟 ServiceNow Rising Star 2024

Hello @SeemaJenitT  ,

 

Just wanted to check in to see if my earlier response helped you out or if you're still facing any issues. If your query is resolved, it would be great if you could mark my reply as helpful and accept it as the solution — that way it can also benefit others who come across the thread later.

 

Also, if you found any other responses helpful, feel free to mark those as helpful too. You can even accept multiple solutions if they contributed to resolving your issue.

 

Let me know if you need anything else!

 

Best regards,
Aniket Chavan
ServiceNow MVP 2025 | ServiceNow Rising Star 2024