Applying multiple queries

We can apply multiple search queries, which act as AND clauses, by adding multiple addQuery, addNullQuery, or addNotNullQuery methods, as shown in the following example:

var gr = new GlideRecord("incident"); 
gr.addQuery('priority','<=','2'); 
gr.addQuery('active',true); 
gr.addNotNullQuery('short_description'); 
gr.query(); 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.107.241