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.
Domain separation: Reference qualifiers with Choice List specification do not work as expected for process-separated domain data - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Domain separation: Reference qualifiers with Choice List specification do not work as expected for process-separated domain data
KB0685271

Domain separation: Reference qualifiers with Choice List specification do not work as expected for process-separated domain data


2432 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Description

With domain separation, if you set up two reference fields where one field's value is dependent on the other field with a reference qualifier, if the data is process separated and the dependent reference field is set up as a Choice List, the system is not able to pull up expected values for the child domain under certain scenarios. 

Steps to Reproduce

Setup Steps

  1. In a domain-separated instance, set up a new custom Choice table with the following fields: Name, Field, Table, Dependent, Overrides, Domain, Domain Path.

  2. Set up two new fields on the Incident table.

    • Cat Demo(u_cat_demo)

      Type: Reference
      Reference: Choice (the newly created table)
      Ref Qual Condition:
        Field: Cat Demo
        Table: Incident

    • Subcat Demo (u_subcat_demo)
      Type: Reference
      Reference: Choice (the newly created table)
      Advanced Ref Qualifier=javascript:'u_dependent=' + current.u_cat_demo
      Attributes: ref_qual_elements=u_cat_demo, ref_auto_completer=AJAXReferenceChoice
      Choice List Specification= Any value from the drop-down list other than --None--

       

  3. Add test data to the u_choice table by importing the attached u_choice.XML file or creating the data as shown in the figure. Make sure that the Dependent field for the child domain records has the sys ID of the parent domain.

 

Test Steps

  1. Create a new Incident in a domain-separated incident.

  2. Set the caller to a user in the Acme domain so that the incident record's domain is set to Acme.

  3. Save the new incident record and reload the form.

    Note that the Cat Demo and Subcat Demo fields pull up the reference values as expected.

  4. Set the Cat Demo field to Acme and check the value of SubcatDemo field.

    Rather than having choice values only from Acme domain, the list is empty.

    Note that if you save the form with the value Acme in Cat Demo field, the Subcat Demo field drop-down list shows the available options.

 

Workaround

Remove the Choice List Specification in the dependent field's dictionary record. The issue is not present if the field is presented as a reference pop-up versus a choice list drop-down list. 


Related Problem: PRB1273594

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?

Attachments

Attachments

  • ChoiceTableData.png
  • CatdemoFieldDictionary.png
  • CatsubDemoFieldDictionary.png
  • ChoiceTableDictionary.png
  • u_choice.xml
  • ChoiceTableData.png
  • ChoiceTableDictionary.png
  • CatdemoFieldDictionary.png
  • CatsubDemoFieldDictionary.png

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.