Description
Unable to see any record when filtering the records for a field that has type as Choice in list view.
Steps to Reproduce
-
Create two choice fields in the sys_user table:
FIELD #1
Table:sys_user
Type:Choice
Column Label:Region
Column name:u_region
Choice List Specification: Dropdown without —None— (must specify a default value)
Default Value:javascript:gs.getUser().getRecord().getValue('u_region')
Choices For Region:
Label: NA Value:NA Sequence:0 Inactive:false Dependent value:EMEA
Label: SA Value:SA Sequence:1 Inactive:false Dependent value:EMEA
Label: EMEA Value:EMEA Sequence:2 Inactive:false Dependent value:
Label: AP Value:AP Sequence:3 Inactive:false Dependent value:FIELD #2
Table:sys_user
Type:Choice
Column Label:Country
Column name:u_country
Choice List Specification: Dropdown without —None— (must specify a default value)
Dependent Field:Region
Default Value:javascript:gs.getUser().getRecord().getValue('u_country')
Choices For Region:
Label: AD Value:AD Sequence: Inactive:false Dependent value:EMEA
Label: AE Value:AE Sequence: Inactive:false Dependent value:EMEA
Label: AG Value:AG Sequence: Inactive:false Dependent value:NA
Label: AR Value:AR Sequence: Inactive:false Dependent value:SA
Label: AU Value:AU Sequence: Inactive:false Dependent value:AP -
Go to the incident table and add the following two fields to the incident form from the reference table Requester:
Requester.Region
Requester.Country -
Set values for an incident.
-
Go back to list view and try to type the name of region or country in filter.
Instead of filtering with the name you entered, it returns nothing.
Workaround
After carefully considering the severity and frequency of the issue, and risk of attempting a fix, it has been decided not to address this issue. We do not make this decision lightly, and we apologize for any inconvenience. If you have any questions regarding this problem, contact ServiceNow Customer Support.
Related Problem: PRB1287671