Restrict Unique rows in MRVS

pramodkumar
Tera Expert

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!

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@pramodkumar 

check this checkbox under that variable within that MRVS

AnkurBawiskar_0-1738130464574.png

 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

6 REPLIES 6

@pramodkumar 

you will have to write onSubmit catalog client script which applies to Catalog Item

Get the MRVS value, parse that json and check

this link has solution shared by me, enhance as per your requirement.

Validation on Multi Row variable set (same role cannot be allowed). 

AnkurBawiskar_0-1738724241441.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@pramodkumar 

Request you to close your earlier questions by marking appropriate response as correct.

I have provided solutions for few of those.

Members have invested their time and efforts in helping.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader