How to set the invalid queries into empty result sets in ServiceNow?

Mohd Arif Khan
Giga Contributor

How to set the invalid queries into empty result sets in ServiceNow

3 REPLIES 3

GlideFather
Tera Patron

Hi @Mohd Arif Khan 

can you please better explain your requirement?

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Nikhil Bajaj9
Giga Sage

Hi @Mohd Arif Khan ,

 

Although your question is incomplete but i am replaying as per my understanding of the question:- 

 

To ensure that invalid GlideRecord queries in ServiceNow result in empty result sets, the glide.invalid_query.returns_no_rows system property must be set to true.

 

Please let me know in case you were asking about same or soemthing else. 

If my answer helped you in anyways, please amrk it as Solution accepted.

 

Regards,

Nikhil Bajaj

Please appreciate my efforts, help and support extended to you by clicking on – “Accept as Solution”; button under my answer. It will motivate me to help others as well.
Regards,
Nikhil Bajaj

RAMANA MURTHY G
Mega Sage
Mega Sage

Hello @Mohd Arif Khan ,

 

We have a sys_property glide.invalid_query.returns_no_rows

please take a look on it

 

 

Please mark my answer helpful  & correct if it helps you
Thank you

G Ramana Murthy
ServiceNow Developer