Ankur Bawiskar
Tera Patron

@ghitabahaj 

yes you can access outside variable in onLoad catalog client script which applies on MRVS

Syntax is this

var val = g_service_catalog.parent.getValue("no_of_children");

I created blog for this in past

Access value of catalog item variable within MRVS client script 

💡 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

View solution in original post