How to insert a line break in flow variable in flow designer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2022 06:34 AM
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
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 07:55 AM
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.