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.
Form Widget on Service Portal does not honour UI Policies over Dictionary level settings such as Mandatory or Read-only - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Form Widget on Service Portal does not honour UI Policies over Dictionary level settings such as Mandatory or Read-only
KB0717235

Form Widget on Service Portal does not honour UI Policies over Dictionary level settings such as Mandatory or Read-only


1253 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Description

UI Policies on form widgets, dictionary level mandatory or read only options are enforced on the form even when the UI Policy sets differently. The behaviour is opposite on the desktop UI, where if there is a UI Policy present for a field, this takes precedence over the dictionary setting.

 

Steps to Reproduce

1. Create a new field on incident and set it to mandatory at the dictionary level
2. Create a UI Policy that sets the Visible action to False and Mandatory to False when a condition is met - example Category is (or any valid condition)
3. Create a new incident record on the Service Portal using the form widget using a URL like https://instancename.service-now.com/sp?id=form&table=incident&sys_id=-1
4. Update the form so that the UI Policy condition is met
5. Observe that the new field is not visible since the UI Policy condition is met
6. Submit the Incident after filling out the entire form including all the mandatory fields


EXPECTED: Dictionary level mandatory condition is ignored and you are allowed to submit the incident

ACTUAL: You get a 'Some fields are incomplete' message with the field name

NOTE: Same issue exists for Read-Only as well

Workaround

This is expected behaviour and by design on the Service Portal, and the desktop UI behaviour is incorrect. UI Policies should not be able to change a mandatory attribute set by the dictionary or data policy.

After carefully considering the severity and frequency of the issue, and the cost and risk of attempting a fix, it has been decided to not address this issue in any current or near future releases. We do not make these decisions lightly, and we apologize for any inconvenience.

 


Related Problem: PRB1253002

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.