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.
Determining whether variable settings are incorrectly configured - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Determining whether variable settings are incorrectly configured
KB0538898

Determining whether variable settings are incorrectly configured


2606 Views Last updated : Aug 24, 2022 public Copy Permalink
KB Summary by Now Assist

Issue

  • No variables on the form
  • Variables values wiped out
  • Mandatory value not mandatory
  • Not mandatory is actually mandatory
  • Variable not visible
  • Variable is read-only
  • Variable is not read-only

Resolution

If the Variable Editor or variables within the editor are not appearing as expected, the variables may have been set up in a number of places incorrectly:

  • Variables configured on the catalog item itself may not behave as expected and therefore cause confusion
  • The form that holds the Variable Editor may have configurations that do not play well with the settings of the item
  • Conditions on the form may be triggering some behavior

A good place to start troubleshooting is to ensure that the variable itself is correctly configured. There are multiple configuration points for a variable and any one of these may contribute to unexpected behavior. 

To determine if variable settings are incorrectly configured:

  1. Navigate to Service Catalog > Maintain Items.
  2. Select the item that is causing issues.
  3. Open the Catalog Item form and navigate to the related lists at the bottom. The Variables related list holds the variables and their configurations.



  4. From the list, open the variable causing the issue.
  5. Try the following troubleshooting steps:
    1. Mandatory: mandatory behavior can be configured in many ways. For example, in the Mandatory field, in a client script, or in a UI policy. It is important that these different mechanisms do not clash with each other or you may see unexpected behavior.
    2. Read-Only: read-only behavior can be configured in many ways. Using multiple methods for the same variables can create unexpected behavior.
    3. Default value: default value / dynamic default value are powerful features because they allow scripting. They can also create confusing behavior for end-users on how certain fields are populated without them filling them out. Checking the settings/configurations here is a good place to start.
    4. Active: a false value here may cause problems.
    5. Read roles: if the variable is correctly configured for Mandatory, Read-Only, Default value, and Active, the variable still may not be visible if there are restricted Read roles. If there are no roles, then this variable appears to everyone, otherwise, it is removed from the form.

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.