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.

How to order for variables in Variable set and Variable

srisri
Giga Contributor

HI Team,

I have a doubt in ordering the variable. 

In Variable Set there are 3 variables. variable set Order is 0

Var1 10

Var2 100

Var3  700

From Variables i created One more variable. 

Var4  Order: 200

 

Currently my UI Layout is as follows :

Var1 Var2

Var3

Var4

Now as per the requirement i have to get the layout as follows :

Var1  Var 2

Var4

Var3

 

Please suggest and help to proceed further.

 

Regards

Sri

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

That won't be possible.

A variable outside of a variable set, can't be presented/ordered between variables of the variable set. It's either before or after the variable set.

Kind regards,
Mark
2020, 2021 ServiceNow Community MVP
2020, 2021 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

9 REPLIES 9

Mark Roethof
Tera Patron
Tera Patron

Hi there,

That won't be possible.

A variable outside of a variable set, can't be presented/ordered between variables of the variable set. It's either before or after the variable set.

Kind regards,
Mark
2020, 2021 ServiceNow Community MVP
2020, 2021 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hi Mark -

I was actually struggling with this same issue today.  Is it safe to assume that QUEBEC has not resolved this?

 

Thanks,

Roberta

Hi @Mark Roethof  -

I was actually struggling with this same issue recently.  Is it safe to assume that QUEBEC has not resolved this?

Thanks,
Roberta

No this hasn't changed with Quebec or Rome. Personally I also don't see why this should be changed, in my opinion it's logical that this wouldn't work.

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn