Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

setting maximum number on integer field?

Hafila Hatta
Tera Guru

i'm creating a new single line field to be set as integer in a catalog item. how do i set limit to this field so that user can only fill in only up to '9'?

 

thanks

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@Hafila Hatta Try the following configuration on your catalog item variable.

 

Screenshot 2024-08-12 at 9.12.35 AM.png

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Hafila Hatta 

you can use variable validation Regex as mentioned by other members.

Please try that and let us know

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader