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 layout question

Bidduam
Tera Guru

Is it possible to have a single variable set that goes from 2 columns to 1 column and back to 2 columns?

 

Similar to this:

Bidduam_0-1678770879512.png

 

I've tried it a number of ways using containers, but they just don't seem to want to play ball?

Or do I just have to have 3 seperate variable sets to achieve this sort of layout?

 

Can anyone assist please?

1 ACCEPTED SOLUTION

Portal/Employee Center handles this different than the backend, so you will need 3 variable sets.  No containers or splits needed, but the first and third need to have a 2 column layout

BradBowman_0-1678969346228.png

 

BradBowman_1-1678969402396.png

 

BradBowman_2-1678969463939.png

 

BradBowman_3-1678969493405.png

View solution in original post

7 REPLIES 7

Brad Bowman
Kilo Patron
Kilo Patron

I was able to achieve this within one variable set:

BradBowman_0-1678798089265.png

Here's the magic:

BradBowman_1-1678798140541.png

 

 

Thanks for the reply @Brad Bowman  , can I ask how you created the variable set?

I can't get the same result as you.

 

I have set the variable set as type: single row and have to choose a layout, doesn't matter what I choose it doesn't display correctly.

I just chose single row and created the variable types and order as shown.  What does your layout look like when you do this?

So here is what I have and how it looks in both the backend and the portal - ultimately I'm wanting it to look right in the portal/employee center.

 

Bidduam_1-1678919030714.png

This is what it looks like in the backend:

Bidduam_2-1678919170969.png

 

This is the portal view:

Bidduam_3-1678919211806.png

 

And I got the layout around the wrong way, but essentially still the same as what you've done:

(This is what I want ot to look like)

Bidduam_4-1678919274861.png