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.
Mandatory currency fields not being enforced when value is 0.00 - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Mandatory currency fields not being enforced when value is 0.00
KB0794167

Mandatory currency fields not being enforced when value is 0.00


2233 Views Last updated : Aug 29, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

Setting a currency field to Mandatory, is not taking into consideration the value of 0.00 which is populated by default in the system. Essentially, this invalidates the fact that the field was set to Mandatory, since it will always be populated with the value of 0.00, if nothing else, therefore it will always pass the 'Mandatory' validation.

Release

Any

Resolution

1. In the sys_dictionary record for the currency field you want to be mandatory, verify that the Mandatory checkbox is checked.

2. Create a business rule on the table with the currency field you want to be mandatory. The examples in this article are for the 'estimated_cost' column on the 'project_change_request' table. You can swap out any table and currency field you want in the example.


Business Rule Configuration:

WHEN TO RUN:
1. On Insert and Update
2. Filter the currency field when it is less than 0.01 (This is to make sure any format of 0.00 will trigger the invalid update, 0 or 0.0 or 0.00, etc.)          

ACTIONS:

1. You can add a message if you want to
2. Make sure to check the box 'Abort Action' which is what will prompt the Invalid Update if the user doesn't enter a value greater than 0.



Here is how it looks when the user enters 0 for the mandatory currency field (this is with the optional message):





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.