Anthony_vickery
Tera Expert

Hi Aman,


Your encoded query appears to be partially escaped and is probably being ignored, though I'm not certain why the NullPointerException and not just a full incident query. You could replace those occurrences of %3D with =


Or alternatively unescape the encoded query string


  incquery.addEncodedQuery('active=true^state<6^NQactive=true');



or



  incquery.addEncodedQuery(unescape('active%3Dtrue^state<6^NQactive%3Dtrue'));


View solution in original post