Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2016 08:00 PM
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'));