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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Line Break in Multiple...
Power Automate
Unanswered

Line Break in Multiple line of Text SharePoint Column in "Start and Wait for an Approval" Action

(0) ShareShare
ReportReport
Posted on by 1,121

I have  "Start and Wait for an Approval" action in my flow where am mentioning my Multiple lines of text SharePoint column in details section. I have used below expression and it doesnt work. The output is \n is replaced with <br> tags everywhere.

 

replace(items('Apply_to_each')?['Procurement_x0020_Comments'],variables('EnterVariable'),'<br>')

 

Now when I used the same expression under Send an Email (V2) action it does work pretty well. How can I make it to work in Approval action.

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @RameshMukka 

     

    So these line breaks are not appearing under approval action? Could you post a screenshot?

     

    Thanks

  • rameshmukka Profile Picture
    1,121 on at

    RameshMukka_0-1602074176965.png

     

    Here is the screenshot. I have used a variable called "Enter Variable" to store Enter key value and replacing it with <br> using the expression i mentioned. Just that it is not being converted to html in Approval action. Doesnt it understand HTML?

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @RameshMukka 

     

    Thanks for the screen shot. Please do the following:

     

    1. Under the enter key variable value press the Enter Key

    2. Replace the tag with enter key value.

     

    Thanks

  • rameshmukka Profile Picture
    1,121 on at

    @abm I actually did it. Its working in send an email action but not in Approval action.

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @RameshMukka 

     

    I haven't tested this but try this

     

    This is line 1.(space)
    Now text will appear on the next line.

     

    Result: 

    This is line 1.
    Now text will appear on the next line.

     

    See the reference:

    https://docs.microsoft.com/en-us/business-applications-release-notes/april18/microsoft-flow/rich-text-approvals

    https://docs.microsoft.com/en-us/power-automate/approvals-markdown-support

     

     

     

  • rameshmukka Profile Picture
    1,121 on at

    @abm I am only using multiple lines text field from SharePoint list column. Do you think replacing variables('Enter Variable') with (space) within replace function help here? Also does (space) has '' (single quotes) around it?

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @RameshMukka 

     

    Documentation says put brackets and space so replace with that and see whether that works or not? Initially hardcode a value directly in flow approval message and see if that works or not? Then think about the expression you need to use.

     

    Thanks

  • rameshmukka Profile Picture
    1,121 on at

    @abm Even hardcoding doesnt helping it :-(. Do we have an alternative?

    RameshMukka_0-1602158016508.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard