- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 06:56 AM
I have a form field that is of type decimal and for some reason if you put in a decimal number it comes back and says it is not a number. If you put in an integer, no problem.
I have 3 other fields that are also decimal and are used in t he same way and they do not have this issue.
The validation is internal to ServiceNow and not based on a UI policy so somewhere in SN it thinks this field should be something that it is not.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 09:03 AM
Open that variable configuration and seems some variable validation Regex is applied which shows that message only for that variable and not for other 2.
Definitely it's coming from there
The Regex checks the value is Number or not and shows that message
If you wish to remove that validation then clear that "Validation Regex" field from that variable
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 07:31 AM
it is not part of a variable set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 09:03 AM
Open that variable configuration and seems some variable validation Regex is applied which shows that message only for that variable and not for other 2.
Definitely it's coming from there
The Regex checks the value is Number or not and shows that message
If you wish to remove that validation then clear that "Validation Regex" field from that variable
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 05:51 PM - edited 01-21-2025 05:55 PM
EDIT:
I see what you are pointing to now....that was it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 06:52 PM
Glad to know.
Please mark my response as correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader