How to hide a variable of multi-row variable set based on Out of MRVS variable choice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 06:25 AM
Hello, @Brad Bowman , @Ankur Bawiskar , @Sujatha V M
When I try to create UI policy out of MRVS on catalog item item, I am not able to select variable of MRVS on UI policy action. I can select only backend name MRVS. But I want to select MRVS variable to set visible false, when Out of MRVS variable choice value.
IS IT POSSIBLE...... Any suggestions please..
Thanks,
Anusha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 08:11 PM
you will have to create catalog UI policy which applies to variable set, select the MRVS and then your variable
but remember using this UI policy you can show/hide or manipulate variables within MRVS and not outside ones
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
07-03-2024 09:01 PM
Hi there,
Can you give an example of what you are after?
Just reading it doesn't sound logical (and is not out-of-the-box an option). Because you want a UI Policy outside of the MRVS, to take action on a Variable in the MRVS. But the MRVS can contain multiple rows and possibly every row different values. So on what should the UI Policy outside of the MRVS take action then?
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2024 12:21 AM
@Anusha Anus Just adding my suggestions along with others,
UI policies defined within the variable sets will work only within that but not for the variables defined outside as it applies to 'Variable set' only.
If you want to apply to the catalog item, then you can select the variable set values and apply the respective options.
Kindly don't define the policies in both places as it will cause conflicts.
Reference : Service Catalog UI Policies not working or firing in expected order : https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0551679
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.