logo

NJP

Server-Side Validation via Business Rules

Import · Feb 21, 2022 · article

Hola Community,

There are requirements when we want to validate field values on UI, third party integrations or any other method. Basically, we don't want to end up having incorrect values in database which compromises with the integrity of the database.

For that, we will create a Business rule to validate every time a record is inserted or updated with a regular expression that it complies with the expected syntax. I have taken an example to validate Indian mobile number which validates it starts with +91 and is followed by ten digits.

Please mark this article as Correct Answer/Helpful if it helped you.

Cheers,

Hardit Singh

Connect with me on YouTube

image

View original source

https://www.servicenow.com/community/now-platform-articles/server-side-validation-via-business-rules/ta-p/2306997