what is the difference between add query and add encoded query?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2018 09:53 PM
o
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2018 02:35 AM
Please refer to the below code:
var filterQuery = "number="INC0001"^priority="1";
var gr = GlideRecord('u_updates');
gr.addEncodedQuery(filterQuery);
gr.query();
In this way you can run an encoded query with multiple conditions however in addquery you pass only one condition in one addquery.