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 remove "empty" option from suggestion on field

Asha Pathak
Tera Contributor

Hello Community!

I have one requirement in my project that, we need to remove empty option from suggestion when we click on empty field  

How to remove empty from suggestion

AshaPathak_0-1730190875608.png

 

Please help!

 

1 ACCEPTED SOLUTION

Tai Vu
Kilo Patron
Kilo Patron

Hi @Asha Pathak 

Based on your screenshot, it looks like the Location field is a Reference variable. If you'd like to filter out Locations with empty names, you can add a straightforward query in the Reference Qualifier.

Here's a sample setup for the Reference Qualifier:

Timi_0-1730192370757.png

 

Or with Advanced reference qualifier

nameISNOTEMPTY

 

Cheers,

Tai Vu

View solution in original post

2 REPLIES 2

Tai Vu
Kilo Patron
Kilo Patron

Hi @Asha Pathak 

Based on your screenshot, it looks like the Location field is a Reference variable. If you'd like to filter out Locations with empty names, you can add a straightforward query in the Reference Qualifier.

Here's a sample setup for the Reference Qualifier:

Timi_0-1730192370757.png

 

Or with Advanced reference qualifier

nameISNOTEMPTY

 

Cheers,

Tai Vu

SyamPrasanM
Tera Expert

Hello @Asha Pathak 

I hope this Answer is useful to your Question,

To remove empty dropdown filed in location go through this steps :

Right click on location filed and select Configure Dictonary as shown in below image 

Screenshot 2024-10-29 144348.png

 Screenshot 2024-10-29 143824.png

 

After selecting Configure Dictonary filed it will show all the related dropdown filed are available , As show in below image 

Screenshot 2024-10-29 144012.png

 

once click on filed Empty ,here you can delete the filed and click on Delete button As show in below image.

SyamPrasanM_0-1730193584553.png

 

Finally you can delete Empty dropdown filed in Location filed in Given below

 

SyamPrasanM_1-1730193724627.png

 

Through this process you can able to delete the empty Dropdown filed in Location label.

 

Best regards 

Mule Syam 

PRAVAL-LOGO.png