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 use some extra space in variable label of a record producer

Amol Pawar
Tera Guru

Hi Everyone,

In a record producer, in the label of a variable, I want to use some extra space and I want to populate two lines in a label of a variable. 

AmolPawar_0-1707305335383.png

In the above image, after the colon, I want to populate that next text at the next line. How can I achieve this?

That variable type is of string.

 

Thanks in advance,

Amol

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Amol Pawar 

 

You need to spacing only & test. Like if you see here

 

LearnNGrowAtul_0-1707305578747.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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

Hi @Dr Atul G- LNG,

 

Thank you for your quick reply, but giving extra space in a variable label and saving it, doesn't work for me.

It's a label of a variable of a record producer, not a field of a table.

 

Let me know if you have any other solution for it.

Thank you,

Amol

Hi @Amol Pawar 

 

Thanks for feedback. I guess there is no solution, but as suggested by expert @Aniket Chavan  give a try , it may be a workaround for you.

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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

Aniket Chavan
Tera Sage
Tera Sage

Hello @Amol Pawar ,

Instead on using "label" variable you can use "Rich Text Label" and with this you can achieve as per your req.

 

AniketChavan_0-1707306516955.png

AniketChavan_1-1707306571702.png

 

Please le me know your views and Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thanks,

Aniket