validation of addEncodedQuery()
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2022 08:14 AM
Hi ,
i had requirement in email inbound script.
i need to check whether my encoded query is valid or not
var gr=new GlideRecord('sys_user');
gr=gr.addEncodedQuery(query);
gr.query();
i need to check if this is not going to an error when query is not valid
when query is 'user=abel.tutor' there 'll not be generation of result
suggest me here how can i validate addEncodedQuery(query)..
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2022 09:22 PM