We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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';