Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Create HTML Table to have one approval when different share Point Items are modified (HTML code issue)

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

 

I try creating an html table to group different modified Items from a sharepoint list.

 

For this I have two sharepoint lists:

 

ExtraHoursGeneral with these columns:

Phobos_7-1629471855163.png

ExtraHoursDetails with these columns (HID is the same ID number of ExtraHoursGeneral):

Phobos_8-1629471919320.png

 

About my flow I use the model "Start an approval in teams when a SharePoint List is modified" .

 

I modified this flow like this:

Phobos_9-1629472062092.png

 

In Apply to each 5:

Phobos_10-1629472108124.png

 

Phobos_11-1629472127802.png

 

I selected the ExtraHoursDetails list:

 

Phobos_1-1629471246773.png

 

I have to use "get items", because I need details which are on this list to create my html table:

 

Phobos_2-1629471404954.png

 

I use filter array to connect the both sharepoint lists :

Phobos_3-1629471452154.png

 

Furthermore, I use select function to select different columns I need for HTML table:

Phobos_4-1629471514229.png

And I have this HTML table:

Phobos_5-1629471548131.png

I create an approval with an output which is the html table:

Phobos_6-1629471627269.png

 

Finally, when I create a few items on my sharepoint list, I got these king of notification:

Phobos_12-1629472319429.png

And I got the same notification per each item I created/modified.

 

My main goal with the html table is to group in one table each item I created at the same time.

 

My main issue is when different items are added or modified, I receive this kind of notification on teams :

 

Phobos_0-1629471076374.png

 

and when I modified a second item, I receive a second one, too.

 

Then my questions are :

 

- How may we get a table instead getting the html code ?

- How may we get only one table which groups different modified items ?

- Finally, as you can see, my condition is inside "apply to each 5". My wish is to add a terminate function when the condition is no. However, we couldn't add one when we are inside a apply to function. Do you have an idea how to solve this issue ?

 

I'm sorry not to find solutions for these issues. I'm really a newbie on Power Automate.

 

Thanks for your help.

 

 

  • Community Power Platform Member Profile Picture
    on at
    Re: Create HTML Table to have one approval when different share Point Items are modified (HTML code issue)

    nks for your help ! It was that !

  • Verified answer
    annajhaveri Profile Picture
    8,531 Most Valuable Professional on at
    Re: Create HTML Table to have one approval when different share Point Items are modified (HTML code issue)

    @Anonymous  with approval actions, you cant use HTML, there is Markdown syntax that needs to be used to format the content of approvals, you can refer to this documentation https://docs.microsoft.com/en-us/power-automate/approvals-markdown-support#tables to get idea of how to create tables using Markdown. 

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow