cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AntoinetteB
Advocate II
Advocate II

Email Formatting for Response Summary approval action

The Response summary field is not formatting properly in email.  It formats correctly in Check in comments.  I will show you what I want vs. what I am getting.

 

WHAT I WANT:  I want the Response summary to format as shown here in the Check in Comment.  Approver, Response, Request Date, and Response Date all appear on separate lines.

AntoinetteB_1-1620153157479.png

AntoinetteB_0-1620152937433.png

WHAT I DO NOT WANT:  But instead, when I use this field in an email it is formatting so that it's spread out and not wrapping the correct way.  Approver, Response, Request Date, and Response Date all appear run together on the same line.

I have tried to format the email to correct this, with no success.

AntoinetteB_2-1620153333965.png

AntoinetteB_3-1620153427493.png

It seems like something simple, but I don't know what since the Response summary field should format automatically.  I tried moving the Response Summary out of the </p> but that did not help.  Thank you.

 

 

23 REPLIES 23

It's a string. Show your "Initialize a variable" action please. 

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.
skillsy
Advocate II
Advocate II

Thanks for the replace(.... etc..) code.

   A simpler, slightly less elegant method is to toggle the email into the code view and wrap the field in the html element pre. e.g.

<pre>Response Summary</pre>

 

Hi Victor, thanks for all your useful advice. Have implemented said variable for my workflow. However, along with Response Summary I would also like to print Response Comments alongside what we already have for each approver. Are you able to help?

Maggs_2103
Regular Visitor

I found an alternative solution that did not require using an expression. This allows you to customize what you want to print easier in my opinion. In my case I wanted to also print the response comments. Here are screenshots of my actions as well as what is now outputted:

 

Maggs_2103_0-1660571633270.pngMaggs_2103_1-1660571674284.png

 

 

Maggs_2103_3-1660572149071.png

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,468)