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.
How to sort reference variable on specific columns - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • How to sort reference variable on specific columns
KB0678050

How to sort reference variable on specific columns


2375 Views Last updated : Jul 24, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

This article will explain how to sort reference variable on specific column in Record Producer. Reference variable is referencing to other table, so you will need to sort the table column that is referenced variable.

For Example, on change_request form on clicking Configuration Item look up list, its sorted by Location, but you want to sort it on name:

Configuration item list view

Procedure

  1. Go to User Preference Under User Administration
  2. Look for user preference with name: cmdb_ci.db.order and system=true.
  3. If you dont find existing record create new one, if you find existing record update the value as per your needs.
  4. Create new user preference by clicking New:
    1. Name: cmdb_ci.db.order
    2. Value: name
    3. System: Checked
    4. Type: String
When you re-login again you will see the order has changed:

KB0678050_2.png


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.