How to make multi row variable set itself mandatory

Takumi Togashi
Tera Expert

Hi,

Currently, the multi row variable set itself is not made mandatory, so there is the problem that it is possible to submit and create a request item even if it is not filled in.

[Variables in a variable set can be mandatory.]

find_real_file.png

[The multi row variable set itself cannot be mandatory.]

find_real_file.png

How can I make them required?
If a catalog client script is required, I would appreciate details.

Thanks.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

no script required.

Directly use UI policy and make the MRVS mandatory

Example:

Steps

1) add a UI Policy without any conditions (so that it runs onLoad) which applies on catalog item

2) Then add a UI Policy Action where you select the Multi Row Variable Set name within the Variable Name field

find_real_file.png

Select the MRVS from variables field

find_real_file.png

Regards
Ankur

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

View solution in original post

2 REPLIES 2

Harshad Wagh
Tera Guru

Please check this.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0778516

Thanks

Harshad

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

no script required.

Directly use UI policy and make the MRVS mandatory

Example:

Steps

1) add a UI Policy without any conditions (so that it runs onLoad) which applies on catalog item

2) Then add a UI Policy Action where you select the Multi Row Variable Set name within the Variable Name field

find_real_file.png

Select the MRVS from variables field

find_real_file.png

Regards
Ankur

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