Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

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