web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Microsoft Flow Approva...
Power Automate
Answered

Microsoft Flow Approval create a new line by replacing string from a value

(0) ShareShare
ReportReport
Posted on by

Can I make a format by using a string from a value

 

for example:
value1 = Departure: 01/01/2019 Arrival: 01/01/2019 From: New Jersey To: Los Angeles, Departure: 01/01/2019 Arrival: 01/01/2019 From: New Jersey To: Los Angeles, Departure: 01/01/2019 Arrival: 01/01/2019 From: New Jersey To: Los Angeles,

Result:
something like this replace(value1,',', '*') \\ this formula doesnt work at all.

Departure: 01/01/2019 Arrival: 01/01/2019 From: New Jersey To: Los Angeles

Departure: 01/01/2019 Arrival: 01/01/2019 From: New Jersey To: Los Angeles

Departure: 01/01/2019 Arrival: 01/01/2019 From: New Jersey To: Los Angeles

Above is something I wish to produce to approval mail body.
I already used all markdown syntax but no luck.

Thanks in advance!

Categories:
I have the same question (0)
  • LeeHarris Profile Picture
    1,026 on at

    Hi @Anonymous 

     

    What action are you using to send your approval? If you are using the Send Email with Options action then you can, in the advanced properties, set it to use HTML. You just need to then change your replace expression to 

    replace(value1,',', '</br>')

     

  • Community Power Platform Member Profile Picture
    on at

    Hello @LeeHarris ,

    I am using Approval Action which uses a markdown syntax instead of HTML on its body.

    Though this is not the answer I am looking for, but for sure your solution would have worked if syntax is HTML.

    Thanks for your response though.

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    solution found by referring to another post: https://powerusers.microsoft.com/t5/Building-Flows/CRLF-in-quot-Create-File-quot/m-p/166983/highlight/false#M16905

     

    Thanks to saikumar.

    1. Build a new variable(supposedly named "CRLF") using action "Initialiaze Variable"

    2. Set the type of this variable as "String"

    3. In the value field just place the cursor in it and hit the enter key(Return key).

  • DBean Profile Picture
    17 on at

    I know this is an old thread, but I'm having the same problem and this solution isn't working for me.  Does anyone know if this method has been disabled and if there's a new way of accomplishing this?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 291 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 109 Super User 2026 Season 1

Last 30 days Overall leaderboard