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 your UI policy is disabled - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Determining if your UI policy is disabled
KB0547064

Determining if your UI policy is disabled


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

Issue

Problem

Disabled or higher precedence UI policies.
 

Symptoms


  • Cannot change field
  • UI policy not working
  • UI action not working
  • Client scripts not working
  • Fields not visible
  • Mandatory field not working 

 

Cause

  • The UI policy settings, including the active flag and the global settings, may not be properly configured. 
  • Other UI policies with a higher priority may be specified that affect the same field.  

Resolution

The active flag in the UI policy must be set to true and apply to all relevant forms. The UI policy also must be marked as global to ensure that the settings apply to all forms. If global is not checked, the UI policy only applys to the view that is specified in the View field. If no view value is shown, then the settings apply to the Default view (in the event that global is not checked) and not all forms.

If other UI policies that affect the same field have a higher Order field value than the UI policy you are troubleshooting, then they take precedence. One good way way to see if there are other UI policies that affect the same field is to search the sys_ui_policy action table. This table contains the UI policy actions that are tied to particular UI policies. These are the records that determine which fields are mandatory, visible, or read-only. 

For example, if you are trying to set the caller_id field to mandatory in an incident with a UI policy, you can check all the UI policy actions for that field as follows:

  1. Go to the sys_ui_policy_action table list of records. The URL for this would be something like: https://myinstance.service-now.com/sys_ui_policy_action_list.do?sysparm_query=
  2. Filter the breadcrumbs as follows:

    Table is incident
    and

    Field name is caller_id

  3. Once executed, the resulting list shows you all the UI policy records for that table/field combination.
    • If more than one result is returned, click the UI policy value in each column and make note of the order. Policies with the highest order take precedence over lower ones. Make sure the UI policy you want to fire last has the highest order or consolidate the UI policies that are affecting the same field into a single one.

    • If no results are returned when you search the UI policy actions table, keep in mind that UI policies also have script fields that can cause the behavior you are seeing. Like the example with incident and caller_id, you can check for this as follows:


      1. Go to UI policies (sys_ui_policy).
      2. Filter the breadcrumbs as follows:

        Table is incident
        and

        Execute if false contains caller_id
        or

        Execute if true contains caller_id

      3. If any results are returned, review the script fields to see how they could be affecting your field.

 


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.