Catalog item Variable selection validation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2025 02:06 AM
In one of my catalog items, there is a field called Priority Rating. First task owner will update this,
is there any option to popup if the task owner selected the value, and if the selected value has already been updated in another catalog item? Ex. selected Priority 2 and the same 2 already selected and saved in the previous request, then should not be allowed to select in the new request like that.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2025 04:06 AM
You can do an AJAX call to the server to check and return a warning, but your requirement doesn't really make sense. I guess you can only have 20 records in total? What happens on 21? What happens if 4 already exists, but nr 18 is created and needs to be at 4?
I am not sure about your process here, but you may want to look at a different way to fulfill the requirement.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2025 09:38 PM
Mark, thank you for your response, there will not be 21, need to alert the Task owner should not be allowed selected value, and also I need one condition it's application only,y the other requests are in open stage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2025 09:42 PM
you can use onChange + GlideAjax
what script did you start for that and where are you stuck?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2025 06:36 AM
i am not onChange + GlideAjax, do you have any sample script for reference