How to insert a line break in flow variable in flow designer?

Sunil Kumar_ P
Tera Contributor

Hi,

I need to include the line break or new line in the flow variable in flow designer

Ex: 

Article - Abc

Source - XYZ

This flow variable will be included in the email trigger.

I would like to know how this can be achieved?

Thanks

5 REPLIES 5

Tristan Elmore
Tera Expert

Posting this in case anyone in the future sees this. With newer versions of Flow designer using '\n' (or "\n") still works. It's just to execute scripts you'll use the script button when trying to set that value instead of using javascript:

Here's a screenshot from the Set Flow Variable Flow Logic, but it should work for Description as well, which should also be a string field on most ServiceNow records. You can dot walk using fd_data like you would when selecting a data pill.

TristanElmore_0-1684248428302.png