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 if the client script is disabled - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Determining if the client script is disabled
KB0547067

Determining if the client script is disabled


2015 Views Last updated : Aug 22, 2022 public Copy Permalink
KB Summary by Now Assist

Issue

Problem

The client script is disabled, affecting the ability to set a UI policy to a form. 

 

Symptoms

  • Cannot change field

  • UI policy not working

  • UI action not working

  • Client scripts not working

  • Fields not visible

  • Mandatory field not working 

Cause

Client scripts are manipulating the fields you are trying to set with a UI policy. For example, if a client script changes field A to a different value, and that causes a condition to no longer be true in a UI policy, then the UI policy no longer fires.

Resolution

When UI policies are not working as expected, it is a good idea to check if there are client scripts (or catalog client scripts if appropriate) that are manipulating the fields.

For example, if you are trying to set the caller_id field to mandatory in an incident with a UI policy, you can check for client scripts that might be affecting this field following the steps below:

  1. Go to client scripts (or catalog client scripts).

  2. Filter the breadcrumbs as follows:

    Table is incident
    and

    script contains caller_id

  3. Review the scripts to see if they might be conflicting with your UI policy.

  4. If no matches are found, revise the search to see if the script field contains a field that is being used in the condition of your UI policy. For example, if your UI policy for the caller_id field was checking the category field as part of the condition, then do a client scripts search where:

    Table is incident
    and

    script contains category

  5. If other fields are part of your UI policy condition, check those in the same manner.

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.