Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to filter Incidents using multiple query parameters

braj1999
Kilo Contributor

Hello,

I am working on an integration using table APIs. I am trying to filter out incidents using query as mentioned below:

/table/incident?sysparm_query=sys_id=bbc2ddcedba51300b2bd711ebf961944^category=enquiry&sysparm_exclude_reference_link=true&sysparm_view=false&sysparm_display_value=false&sysparm_suppress_pagination=false&sysparm_limit=500

The above query is returning me an empty array in response though there are records for which both the conditions are true. If I try one parameter at a time, like 'sys_id=<SOMEVALUE>', then both parameters are working fine. Any pointer on what I missing will be really great.

Thanks,
BrajMohan

1 REPLY 1

Omkar Mone
Mega Sage

Hi 

Please refer the below link as it will show you the proper implementation of encoded query.

 

https://community.servicenow.com/community?id=community_question&sys_id=d5d38ba5dbd8dbc01dcaf3231f96...

 

Mark Correct if it helps.

Warm Regards,

Omkar Mone

find_real_file.png

www.dxsherpa.com