Filter the available list choices in condition

kaan
Kilo Contributor

Hi everyone,

How can I filter the available options in the condition builder? When I click on the value look up, it shows me the list of all Choices from all Choice Lists.

However, I just want to see the choice list of Change attribute field. In other words, I want to see the filtered results just like the one in the 2nd screenshot below, instead I get the 1st screenshot.

find_real_file.png

find_real_file.png

Any help is appreciated.

5 REPLIES 5

darius_koohmare
ServiceNow Employee
ServiceNow Employee

Is your u_request_attribute confirmed to be a choice type field?


Instead of contains, you could use 'is' or 'is one of'. This should show the finite choice list.


It's a type of List and Reference is Choice.


darius_koohmare
ServiceNow Employee
ServiceNow Employee

By default the values will be all the values on the table, as your essentially just doing a lookup to the choice table records.


Generally, add a filter you need to add a reference qualifier to the list field dictionary entry with condition such as 'name' 'contains' 'change'.


Thanks for your answer Darius.



Here is how the field is set up.



find_real_file.png



As you can see reference qualifier is added in the dictionary entry. There are 53 entries that met "reference qual condition", but look up table shows all 5205 entries in the choice table.