- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2017 05:32 AM
Hi guys
In my record producer, I have a multiline text variable that I'd like to limit length to 4000. I have set up the variable attribute to max_length=4000, however it still accepts over the set limit. Would you know what's causing this issue?
Thanks
Regina
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2017 05:34 AM
The attribute does not work if you are trying it for a field on the table or multiline variables. However, it works for Service single line catalog variables.
If you are trying this on table, then you would need to enforce the restriction either by using a custom client script or a business rule.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2017 06:51 AM
Thanks guys, I've ended up using catalog client scripts to do the validation:
https://www.servicenowguru.com/scripting/gliderecord-query-cheat-sheet/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2022 09:02 AM
Hi Reginabautista,
Can you please help with the catalog client script because I have same requirement. I have checked above link but didn't found something relatable.
Thanks in advance!