- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2017 02:54 AM
On a Record Producer, the only one-line variable type is just a string. Is it possible to have a number variable?
Our problem is that just having string fields is not sufficient. We want to set the maximum length of the string fields, we want number fields, we want to specify the range of the number. Such things are possible ootb on regular fields, but are they possible on record producer fields, or should we create these checks ourselves...?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2017 03:34 AM
Unfortunately, we dont have them on Catalog item OOB. You have write on change client scripts for Validations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2017 02:58 AM
Hi Peter,
For this you have to select string type only but for integer and length this can be done by validation using client script.
Please Mark Correct 0r Helpful if it helps.
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.
********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect
Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2017 03:05 AM
Oké. Enhancement Request here I come
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2017 03:34 AM
Unfortunately, we dont have them on Catalog item OOB. You have write on change client scripts for Validations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2017 03:39 AM
That's too bad. I logged an enhancement request on Hi. I hope it gets some traction, as some sort of validation would be great on variables.