Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

When we should use GlideQuery instead of GlideRecord?

AnkitT
Tera Contributor

Hello Community,

 

I want to know, when we should use GlideQuery instead of GlideRecord.

2 ACCEPTED SOLUTIONS

Abhishek_Thakur
Mega Sage
Mega Sage

Hello @AnkitT ,

You can refer the below link to know about GlideQuery.

https://www.linkedin.com/posts/abhishek-thakur-4636a722b_servicenow-servicenow-activity-706393836667... c

 

Please accept my solution and give thumbs up if it works for you.

View solution in original post

Abhishek_Thakur
Mega Sage
Mega Sage

If still you need any help DM me.

View solution in original post

3 REPLIES 3

Abhishek_Thakur
Mega Sage
Mega Sage

Hello @AnkitT ,

You can refer the below link to know about GlideQuery.

https://www.linkedin.com/posts/abhishek-thakur-4636a722b_servicenow-servicenow-activity-706393836667... c

 

Please accept my solution and give thumbs up if it works for you.

Abhishek_Thakur
Mega Sage
Mega Sage

If still you need any help DM me.

Robbie
Kilo Patron
Kilo Patron

Hi @AnkitT,

 

You'd be hard pushed to find better advice and insight than from Steve Bell.

See his article here on GlideQuery() vs GlideRecord():

 

https://www.servicenow.com/community/developer-blog/glidequery-vs-gliderecord-a-comparison-part-1/ba...

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.


Thanks, Robbie