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.

Modify default query for Sn record picker?

THOUSIF S N1
Tera Contributor

I want to show the result only based on what I type, but as of now whenever i click on the Field it shows some default values so this data should not be shown if nothing is entered how can i do that? 

THOUSIFSN1_0-1711114302285.png

as i see default query is active=true how can i pass the default query dynamically

THOUSIFSN1_0-1711114582442.png

 

2 REPLIES 2

Anubhav24
Mega Sage

Hi @THOUSIF S N1 ,

If you want to show results based on what user types , ex : if user types B and it should show results starting with b , then you you need to use Auto - Complete feature on your variable .

Refer below URL :

https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/field-admini...

 

Please mark correct/helpful if my response helped you.

It is not a variable, Its  a widget