Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Access MRVS Values and Populate a Variable Outside the MRVS

AkhilT013667182
Tera Contributor

How can I access Multi-Row Variable Set (MRVS) values and store them in a Single Line Text variable outside the MRVS?

I have created a catalog item containing an MRVS. Inside the MRVS, I have a DNS Type select box variable and a DNS Value single line text variable in the catalog item. When a user selects a value in the DNS Type field, the selected value should automatically be displayed in a Single Line Text variable outside the MRVS.

 

Could you please suggest the best approach to access MRVS values and populate a variable outside the MRVS?

Thanks in advance.

 

@Ankur Bawiskar 

 

1 REPLY 1

Ankur Bawiskar
Tera Patron

@AkhilT013667182 

so basically you need to access outside variable from MRVS catalog client script?

if yes then check this and it has working approach

Accessing other form variables from inside multi-row variable pop-up

Multi Row Variable Set: communication with main form

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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