cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JohnOReilly34
Level: Powered On

Writing results to separate lines

Hi, 

I have the following flow and I add the result in the last step to a html email. There are usually five or 6 entries in the results but they are all written together, how can i separate these values to be on different lines in a html email? Thanks.

 

FlowPic01.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Writing results to separate lines

 

Hi @JohnOReilly34 ,

 

 

You could add a <br> to the end of Value.

Like:

87.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Writing results to separate lines

Hi @JohnOReilly34, you might want to consider using the Select control together with the Create HTML table. In my example below we've earlier added a SharePoint Get items action from a SharePoint documents library with a filter query that looks for documents with a NextReview date in the next 30 days.

We then add a Select Control and the output of that is used in a Create HTML table action. Then we format the table with borders and background color via a Compose control and a Replace expression.Select-Create-Compose.png

 The output of the Replace expression is then used the email:

Send-Email.png

 The way it looks in the email is as follows and it splits the items out into separate lines in the table in the email:

Email-result.png

 

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

Community Support Team
Community Support Team

Re: Writing results to separate lines

 

Hi @JohnOReilly34 ,

 

 

You could add a <br> to the end of Value.

Like:

87.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

JohnOReilly34
Level: Powered On

Re: Writing results to separate lines

@RobElliott , Thanks for that. The solution from @v-bacao-msft is a little easier to work with for me. 

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (4,908)