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.
If 2 reference field has same value, but one of the reference field does not resolve a record in its referenced table, then the other Reference field also becomes blank - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • If 2 reference field has same value, but one of the reference field does not resolve a record in its referenced table, then the other Reference field also becomes blank
KB0791743

If 2 reference field has same value, but one of the reference field does not resolve a record in its referenced table, then the other Reference field also becomes blank


1575 Views Last updated : May 18, 2024 public Copy Permalink
KB Summary by Now Assist

Description

If 2 reference field has same value, but one of the reference field does not resolve a record in its referenced table, then the other Reference field also becomes blank

Steps to Reproduce

1. Go to incident.list and open any existing incident
2. Make sure a valid user is present in the "Caller" field, go to sys_user table, and copy the sys_id of the selected user.
3. Write the following script to insert the same sys_id in assignment_group field -

var gr = new GlideRecord("incident");
gr.addQuery("sys_id","<SYS_ID_OF_INCIDENT>");
gr.query();

while(gr.next()){
gr.assignment_group="<SYS_ID_OF_USER>";
gr.update();
}

4. Configure Form Layout of the incident and make sure the "Assignment Group" field comes before the "Caller" field

Expected behavior
- The Assignment Group field will be empty, however, the Caller field will show the User's name

Actual behavior
- The Assignment Group field will be empty, also, the Caller field is empty

Workaround

Clear out the invalid value from the field where no referenced record is resolving (For that above example, it would be Assignment Group field)


Related Problem: PRB1379904

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.