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.

Add Space at the beginning of the text in the flow

Tejas Wadkar
Tera Contributor

I am trying to add the space at the beginning of the text in one of the condition of the flow designer but it's not accepting the space. I can able to add the space after the text but not at the beginning. 

Please help if anyone have any idea about this.

Please see attached screenshot. So I want add the space in the highlighted part.

TejasWadkar_0-1673442904224.png

 

2 REPLIES 2

Elijah Aromola
Mega Sage

In my experience flow designer does respect the spaces. I'm not sure what field this is checking against but are you able to use a pill function and trim the white space?

 

ElijahAromola_0-1673444840165.png

 

Otherwise, can you provide a runtime example to compare what is failing? 

Sangamesh_p
Tera Contributor

I encountered a similar requirement where I needed to add a space at the beginning of a text value within a Flow. To achieve this, I created a new Flow variable and simply prefixed the value with a space followed by the original character or string.

Screenshot_11-9-2025_22214_dev274341.service-now.com.jpeg

Screenshot_11-9-2025_222130_dev274341.service-now.com.jpeg