How to set the invalid queries into empty result sets in ServiceNow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2025 09:59 AM
How to set the invalid queries into empty result sets in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2025 10:49 AM
can you please better explain your requirement?
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2025 10:25 PM
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
Regards,
Nikhil Bajaj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2025 10:42 PM - edited 07-26-2025 10:43 PM
Hello @Mohd Arif Khan ,
We have a sys_property glide.invalid_query.returns_no_rows
please take a look on it
Thank you
G Ramana Murthy
ServiceNow Developer