What is the meaning of current.addEncodedQuery('active=false^NQactive=true');

Ketan Pandey
Tera Expert

What is the meaning of

 

current.addEncodedQuery('active=false^NQactive=true');

1 ACCEPTED SOLUTION

Anurag Tripathi
Mega Patron
Mega Patron

This query alone essentially makes no sense. It will give all the results

You get NQ when you use the big OR as shown in the image below. It basically means a set of first conditions OR sec of second conditions.

 

AnuragTripathi_0-1692982330658.png

 

-Anurag

View solution in original post

3 REPLIES 3

Anurag Tripathi
Mega Patron
Mega Patron

This query alone essentially makes no sense. It will give all the results

You get NQ when you use the big OR as shown in the image below. It basically means a set of first conditions OR sec of second conditions.

 

AnuragTripathi_0-1692982330658.png

 

-Anurag

Could you please share tge documention link for all operators 

Hi @Ketan Pandey ,

Please find the documentation link for all the operators 

https://docs.servicenow.com/en-US/bundle/vancouver-platform-user-interface/page/use/common-ui-elemen...

Note : You can accept Multiple answers as correct 

Please mark this as helpful and accept as a solution if this resolves your Ask.
Regards,

Shyamkumar