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.

set visible in variable set

tushar_ghadage
Tera Contributor

Hi Everyone, 

I have a requirement where on the catalog item, 

there are two custom fields in multi row variable set called select choice and application tag -

 

when a Type B is selected in choice field on the catalog form from choice field

field in the variable set select choice should be visible with the choice azure and on prem.

and only when on prem is selected another field called application tag should be visible (in variable set). 

 

I am new to variable sets can anyone help me out here please.

how shall I achieve this?

 

thanks!!

 

24 REPLIES 24

No have checked it

@tushar_ghadage 

sorry but did you try to hide some other variable within that MRVS?

Any other UI policy is showing that select_choice after your client script is possibly hiding?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

actually, this is a custom variable set with only one client script.

there is one catalog ui policy ,

its job is to show application tag field on the MRVS only azure is selected in select_choice field.

but not sure its affecting the script

@tushar_ghadage 

Sorry but I already you a working solution and approach on how to access the outside variable within MRVS onLoad client script.

Please debug further.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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