Hi
I have a flow which is designed to look at a single item in a sharepoint and depending on the output of one column, I want to create an html table with the output from 5 different columns. I can do this if my trigger is 'One', but the problem I am having is when the trigger=Two onwards (up to Five instances with different outcomes i.e. approved or declined). My column names are exactly the same, all I want to do is add a row onto my table if the person has requested more than two and what those outcomes are (originally from an MS Form). I couldn't figure out how to add a row so I went with creating two tables into one email (but it's messy).
Any help would be greatly appreciated 🙂
The Compose I am using for that is:
<style>
table {
border: 1px solid #1C6EA4;
background-color: #EEEEEE;
width: 100%;
text-align: left;
border-collapse: collapse;
}
table td, table th {
border: 1px solid #AAAAAA;
padding: 3px 2px;
}
table tbody td {
font-size: 13px;
}
table thead {
background: #02A0E1;
border-bottom: 2px solid #444444;
}
table thead th {
font-size: 15px;
font-weight: bold;
color: #FFFFFF;
border-left: 2px solid #D0E4F5;
}
table thead th:first-child {
border-left: 2px solid #D0E4F5;
}
</style>
@{body('Create_HTML_table_2')}
<br>
ASSESSMENT 2
<br>
<style>
table {
border: 1px solid #1C6EA4;
background-color: #EEEEEE;
width: 100%;
text-align: left;
border-collapse: collapse;
}
table td, table th {
border: 1px solid #AAAAAA;
padding: 3px 2px;
}
table tbody td {
font-size: 13px;
}
table thead {
background: #02A0E1;
border-bottom: 2px solid #444444;
}
table thead th {
font-size: 15px;
font-weight: bold;
color: #FFFFFF;
border-left: 2px solid #D0E4F5;
}
table thead th:first-child {
border-left: 2px solid #D0E4F5;
}
</style>
@{body('Create_HTML_table_3')}
but I was hoping to be able to just add a row under the columns for each trigger instance



: