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.
The "is empty string" operator in a UI Policy may not work as expected - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • The "is empty string" operator in a UI Policy may not work as expected
KB0565121

The "is empty string" operator in a UI Policy may not work as expected


2756 Views Last updated : Oct 17, 2023 public Copy Permalink
KB Summary by Now Assist

Description

In a UI Policy, the "Is empty string" operator may not work as expected, as opposed to the "is empty" operator.

 

Steps to Reproduce

 

  1. Navigate to Incident > Create New.
  2. Right-click on the header bar and select Configure > All.
  3. Go to the UI Policies section or tab.
  4. Click New.
  5. In Short Description, add text.
  6. In When to Apply, set any string field to Is empty.
  7. Right-click in the header bar and select Save. 
  8. In the UI Policy Actions section or tab, click New.
  9. Add a condition for any field.
    For example, set the Knowledge field to read only.
  10. Click Submit.
  11. Navigate to Incident > Create New. 
  12. Create a new incident.
    The UI Policy is not applied.

Workaround

This is expected behaviour. Unless it is set with a script, a field should not contain the empty string. We use null for fields that have no value, which the operator "is empty" will match. Use "is empty" instead. The operator "is empty string" is designed to do something different from comparing with null.

 
 
 

Related Problem: PRB651325

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.