- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2025 09:48 PM
Hi All,
We have a MRVS on a catalog form. One variable in mrvs is "type" (select box) which has values A, B, C, D. we need to restrict one entry for type selected. User should enter only one row for A, B, C, D. How can we achieve this?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2025 10:01 PM
check this checkbox under that variable within that MRVS
OR script based solution
check this link for solution
How to stop duplicates entering in MRVS based on MRVS Variables(Applies Catalog item/ServicePortal)
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
01-28-2025 10:01 PM
check this checkbox under that variable within that MRVS
OR script based solution
check this link for solution
How to stop duplicates entering in MRVS based on MRVS Variables(Applies Catalog item/ServicePortal)
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
02-03-2025 09:37 PM
Hope you are doing good.
Did my reply answer your question?
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
02-04-2025 05:55 PM
@Ankur Bawiskar When I tried to use unique on variable, it is working but the alert message cannot be customized. So I have tried the script, but it is not working. Do we need to have on submit script on MVRS or catalog form? I believe on submit client scripts will not work on MVRS
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2025 06:53 PM
Yes you will require onSubmit in that case if you wish to show customized message.
I believe I answered your original question on how to make it unique.
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