Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
'ref_ac_columns_search' cannot search string reference field when Choice is Dropdown with --None-- - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • 'ref_ac_columns_search' cannot search string reference field when Choice is Dropdown with --None--
KB0829887

'ref_ac_columns_search' cannot search string reference field when Choice is Dropdown with --None--


2864 Views Last updated : Apr 8, 2024 public Copy Permalink
KB Summary by Now Assist

Description

'ref_ac_columns_search' cannot search string reference field when Choice is Dropdown with --None-- 

Steps to Reproduce

1. Create a custom field in a table (Sample: cmdb_ci)

Type=String

Label=Test Type

Column Name: u_test_type

Choice: Dropdown with --None--

2. Add 2 choices in the field and assign values

ChoiceA with value 'choicea'

ChoiceB with value 'choiceb'

4. Choose any records on that table (cmdb_ci) and assign a value in Test Type eg ChoiceA

5. Go to a catalog item and add a variable of type reference

Reference: Table where you added field on Step 1 (eg cmdb_ci)

Use reference qualifier: Simple

Reference qualifier condition: Test Type is ChoiceA

Variable attributes: ref_auto_completer=AJAXTableCompleter,ref_ac_order_by=name,ref_ac_columns=u_test_type;name,ref_ac_columns_search=true

6. Order the catalog item

Search for the Name of the cmdb_ci in Step #4 -> you can search the name

Search for the u_test_type eg ChoiceA -> no results even if you populate it in Step #4

Expected: The above Variable attributes should have searched on both u_test_type column


The root cause is because the Choice is Dropdown with --None--



Workaround

Try changing the dictionary of your reference field Choice value to "--None--"?

Then delete the reference qualifier condition -> Save -> Add CI Type again and you will see that it will accept the value as String same as the field type

Input the string Choice Label (eg ChoiceA) in the Reference qualifier condition



Related Problem: PRB1411918

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.