Ordering of variable set variables.

nirwan_ritik
Tera Contributor

Hi Community,

 

I have 2 variables in a single variable set tagged to a record producer (which has 5 variables). I want to display the 1st variable set variable on top - then the 5 producer variables - then at the end the 2nd variable set variable. Is this possible?

 

We do not want to create a second variable set for this. Though I highly doubt the feasibility - would really appreciate if anyone knows a way around.

Regards,
Ritik 🙂

3 REPLIES 3

Dr Atul G- LNG
Tera Patron

Hi @nirwan_ritik 

Your point is correct, but it’s not directly feasible. You would need to create a new variable if you want to proceed with the order.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Tanushree Maiti
Kilo Patron

Hi @nirwan_ritik 

 

It is feasible. 

To implement the structure [Variable Set A] → [Producer Variables] → [Variable Set B], you need to use Container Variables within the Record Producer to control the sequence, instead of depending only on the variable set order numbers.


Container 1 (Start) (Order: 100) -> Contains Variable Set A (Order: 150)
Container 1 (End) (Order: 200)
Record Producer Variables (Order: 300-399)
Container 2 (Start) (Order: 400) -> Contains Variable Set B (Order: 450)
Container 2 (End) (Order: 500)

 

Refer: KB0539982 Determining if you are using the correct container variable 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Hi Tanushree,

Thanks for the response. But we have a single single variable set (2 variables). And want to achieve this without creating a new one.