We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Alignment of two variables should be same

Swathi P
Kilo Sage

 

Hello Team,

 

I have a requirement to make two variables one is list type variable and another is single line text should be of same alignment. How can we achieve this please suggest

 

Screenshot 2026-03-10 125605.png

 

 
 

 

 

 

4 REPLIES 4

Tanushree Maiti
Giga Sage

Hi @Swathi P , 

You can place variables side-by-side using container variables. This method is the safest and most OOTB (Out-Of-The-Box) compatible approach.

 

e.g . refer : https://www.servicenow.com/community/developer-forum/how-to-display-the-two-variables-together-in-se...:

 

Screenshot 2026-03-10 134451.jpg

 

Screenshot 2026-03-10 134523.jpg

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

Ankur Bawiskar
Tera Patron

@Swathi P 

I could see in screenshot it's already of same width.

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

List type variable is little bigger than single line text variable so the customer has asked to correct these. Is there any way to change this 

Swathi P
Kilo Sage

Its done similar way only but if you notice the screenshot the list type variable's width is little bigger than Single line text I want the width of the both variables to be same