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.

Filter field with many values in UI Builder

daikhi haithem
Tera Expert

 

Hello, I would like to know what the best solution is for filtering on fields with many values in UI Builder

 

Capture d’écran 2025-04-28 à 13.13.29.png

2 REPLIES 2

Dibyaratnam
Tera Sage

Can you elaborate on your use case, its not quite understandable

AbinC
Tera Guru

Hi @daikhi haithem ,

 

 

Filter on multiple string values

 
 
  • Release version: 
    XanaduYokohamaWashington DCVancouver
    Xanadu
  • UpdatedAug 1, 2024
  • 2 minutes to read
 

For a string field, you can create a filter that searches for multiple values by creating a comma-delimited list.

Before you begin

Role required: admin

About this task

This feature enables administrators to copy and paste search criteria from a Microsoft Excel spreadsheet into a filter, for example.

Note: Do not use the [is one of] operator on fields that contain commas, as the query does not return the expected set of records. Instead, create a filter using multiple [or] statements.

Procedure

  1. Create the filter with the [is one of] or [is not one of] operator.
    Depending on the selected field, a choice list or a text box appears.
  2. Select one or more of the options by using multiple selection key commands.

    The choice list remains visible.

    AbinC_1-1745951367755.png

     

    Alternatively, for text or number fields, type your search options. Separate the options by commas or put each option on a separate line, and do not enclose the selections in brackets.

    AbinC_2-1745951368185.png

     

  3. Click Run to filter the list.
    The filter conditions appear as a comma-delimited string at the top of the results list.
    Comma-delimited filter string AbinC_3-1745951368203.png

    Please do mark helpfull and also mark solution given as it will help me to grow in community 

     

    Thanks,

    Abin