MRVS to catalog item

rvranjan_99
Tera Contributor

Is there any method to set value from MRVS to Catalog on submit of MRVS modal like g_service_calalog.getValue()?

2 REPLIES 2

Brad Bowman
Kilo Patron
Kilo Patron

MRVS is stored in a hidden variable as each row is added.  You can access this from the Catalog Item in a client script via g_form.getValue('mrvs_internal_name') or within the MRVS using g_service_catalog.parent.getValue('mrvs_internal_name')

Sumanth16
Kilo Patron

Hi @rvranjan_99 ,

 

Please refer below article:

https://www.servicenow.com/community/developer-articles/multi-row-variable-sets-how-to-get-or-set-va...

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda