We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. 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
Tera Patron

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 Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

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