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.

Variable set in another variable set

Ulrika
Tera Expert

Hi all,

I have a single line variable set containing a select box. This select box I'd like to show in anoher, multi row, variable set, is that even possible?

Thanks in advance,
Ulrika

5 REPLIES 5

Community Alums
Not applicable

Thank you for your reply, I'll check this out and get back.

Community Alums
Not applicable

Yup Sure @Ulrika ðŸ™‚

My first variable set, "vs_1", contains one variable, "v_1".
My second variable set (a multirow), "vs_2", is where I want to show "v_1" (or actually the whole variable set, "vs_1")

 

I created a Client script in my second variables set - based on the "vs_2" variable set.
UI Type=All
function = onLoad

 

I thought I could just write something like this to show the variable set, "vs_1", but apparently it's not that simple 😄

 

g_form.setDisplay("vs_1", true);

 

Any ideas? Really appreciate your help,
Ulrika