- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2016 05:01 AM
I am trying to check if the field is null in an encoded query, tried using =NULL and ="" and doesn't seem to be working.
gr.addEncodedQuery('owner_group=wintel^state=6^assigned_to=""^EQ');
Any ideas?
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2016 05:04 AM
Try ISEMPTY.
gr.addEncodedQuery('owner_group=wintel^state=6^assigned_toISEMPTY^EQ');
Don't forget, you can always build your query using the list builder and then right click on the breadcrumb and select Copy Query.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2016 05:04 AM
Try ISEMPTY.
gr.addEncodedQuery('owner_group=wintel^state=6^assigned_toISEMPTY^EQ');
Don't forget, you can always build your query using the list builder and then right click on the breadcrumb and select Copy Query.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2016 05:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2016 05:17 AM
That worked. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2016 05:35 AM
Hi,
You can use :
target.addNullQuery('field_name');