- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 08:13 AM
I have a flow in which I add catalog item variables to the Article Body field of a knowledge article. I want to have line breaks between these variables in the article body. I have a script for adding these variables in the flow designer and tried adding "\n", shown in the article below, but that doesn't seem to work. I was wondering how I could add new lines.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 08:21 AM
Hi,
What does the article body look like after doing that? Unfortunately, all you mentioned was that it doesn't work.
Does the \n show up, like literally?
Since the article body is HTML enabled, you may need to do something like:
return "Milestone/Deliverable: <br> second line.... <br> third line...";
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 08:21 AM
Hi,
What does the article body look like after doing that? Unfortunately, all you mentioned was that it doesn't work.
Does the \n show up, like literally?
Since the article body is HTML enabled, you may need to do something like:
return "Milestone/Deliverable: <br> second line.... <br> third line...";
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 08:28 AM
\n doesn't show up at all either. I'll try what you recommended though.