How to build a validation regrex for a field on the incident form

DevtoSME
Giga Guru

I built a custom string field on the incident form for a callers number so when a request from the record producer is submitted it will map back to the INC form. The field is for a caller return number so i will need to restrict the format. How can i put a validation regrex on this field. Its not an option as a reference as a variable.

 

 

for mor info. The users profile cannot be used due to all end users not being in the system.

1 ACCEPTED SOLUTION

Gangadhar Ravi
Giga Sage
Giga Sage

Hi @DevtoSME Please check below.

 

https://www.servicenow.com/community/developer-articles/field-validation-regular-expressions/ta-p/23...

 

Please mark my answer correct and helpful if this works for you.

View solution in original post

1 REPLY 1

Gangadhar Ravi
Giga Sage
Giga Sage

Hi @DevtoSME Please check below.

 

https://www.servicenow.com/community/developer-articles/field-validation-regular-expressions/ta-p/23...

 

Please mark my answer correct and helpful if this works for you.