Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

MRVS Dependent fields

VanamaAkhil
Tera Contributor

Hi All,

 

I have 3 fields A,B,C referencing to a table of type String.

 

In Catalog item we have MRVS where we have those 3 fields of type Look Up Select box reference to that table.I want to implement the scenario where Field B should depend on Field A and Field C should depend on both Field A and B.

 

Can anyone suggest what would be the best and easy method to implement this.

 

Thanks in Advance,

Akhil.

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@VanamaAkhil 

so all those 3 variables are within MRVS and you want to have dependency.

you can use advanced reference qualifier and have dependency.

what did you start with and where are you stuck?

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 

 

I have used this as "javascript:"u_business_unit="+current.variables.u_business_unit_prd ;" in field B Reference Qualifier

But Field B showing all the values

Hi @Ankur Bawiskar 

 

I have updated reference qualifier as "javascript:"u_request_type=" + current.variables.request_type+'^u_select_application='+current.variables.select_application+'^u_action='+current.variables.action+'^u_role='+current.variables.role" and is working fine.

 

Reference article :https://www.servicenow.com/community/developer-articles/creating-dependent-variables-in-service-cata...