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.

encoded query

levino
Giga Guru

Hi there

 

basically both clearance name should be approved, how do i go about achieving this

 

Thanks

Levino

 

 var encoded_query = 'u_name=' + thisUser + '^u_status=approved' + '^u_clearance_name=ABC';

 var encoded_query = 'u_name=' + thisUser + '^u_status=approved' + '^u_clearance_name=XYZ';

 

1 ACCEPTED SOLUTION

NitishKumar0012
Tera Guru

var encoded_query = 'u_name='+ thisUser + '^u_status=approved' +'^u_clearance_nameINABC,XYZ';

View solution in original post

1 REPLY 1

NitishKumar0012
Tera Guru

var encoded_query = 'u_name='+ thisUser + '^u_status=approved' +'^u_clearance_nameINABC,XYZ';