cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

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
Community Support

 

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

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
Community Support

 

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

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

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (70,824)