Default Max character limit for Catalog variables

Kiran Maruthi
Tera Contributor

Hi,

What is the default maximum character limit for catalog variables? for Example single line text and Multiline text?
Also pls provide any servicenow doc's for reference for the same.

 

Thank you!

1 ACCEPTED SOLUTION

Indeed for multi line text max_chars attribute does not work. Also you can't apply Regex validation, so also that is not an option 😞

 

Can't think of good alternatives for limiting multi line text that quickly.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

10 REPLIES 10

swathisarang98
Giga Sage
Giga Sage

Hi @Kiran Maruthi ,

 

You can refer the below article,

Two service catalog variable types support the max_length attribute: Single Line Text and Wide Single Line Text. The maximum allowable value for the max_length attribute is 4000.

https://www.servicenow.com/community/itsm-blog/max-character-length-catalog-variables-suggestion-fie... 

 

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

Regards,

Swathi Sarang

Thank you

See my response, this blog references is outdated, not strange since its from 2015.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Perhaps this was correct in 2015, though its not anymore in 2024 🙂 Test it yourself, and you can easily add 10K characters!

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

@Mark Roethof you are correct!, I was able enter 50K+ characters in both single line text and multiline text field. however I was able to limit the character limit for single line text using max_length attribute, but can't make it for multiline text.

 

is there any way to limit the max characters in multiline text catalog variable?

Thanks in advance