I have a gallery looking at a dummy SharePoint list (hence the random names) which I've set up to select items using a check box, can select and deselect all and has an item count.
I have an HTML Text field that displays what the entire document would look like as a PDF, and have a flow that is working, kind of, when selecting the PDF button. The issue is my flow is only running for the first selected item multiple times, instead of running for each individual item selected. Not sure if it's something to do with the HTML or the PDF Test button, but here's all of the info for those fields:
"<!DOCTYPE html>
<html>
<head>
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th, td {
padding: 15px;
}
</style>
</head>
<body>
<h2 style='text-align:center;font-family:verdana'>Audit the Auditor - SRG</h2>
<h3 style='text-align:center;font-family:verdana'> " & galAllAudits.Selected.'Audit Date' & "</h3>
<table style='width:100%;font-family:verdana';>
<tr style='background-color:LightGray;height:50px';>
<th>Supervisor/Coach</th>
<th>CCR</th>
<th>UCID/CEC #</th>
</tr>
<tr style='height:50px'>
<td style='text-align:center;'> " & galAllAudits.Selected.'Sup/Coach' & "</td>
<td style='text-align:center;'> " & galAllAudits.Selected.CCR & "</td>
<td style='text-align:center;'> " & galAllAudits.Selected.'UCID/CEC' & " </td>
</tr>
</table>
<table style='width:100%;font-family:verdana'>
<tr style='background-color:LightGray;height:50px'>
<th>Rating</th>
<th>Overall</th>
</tr>
<tr style='height:50px'>
<td style='text-align:center;'> " & galAllAudits.Selected.Rating.Value & " </td>
<td style='text-align:center;'> " & galAllAudits.Selected.Overall.Value & " </td>
</tr>
</table>
<table style='width:100%;font-family:verdana';>
<tr style='background-color:LightGray;height:50px';>
<th>Requirements</th>
<th>Audit</th>
<th>Original</th>
</tr>
<tr>
<th>Accountability</th>
<td style='text-align:center;'>" & galAllAudits.Selected.Accountability.Value & "</td>
<td style='text-align:center;'>" & galAllAudits.Selected.'Acc Orig'.Value & "</td>
</tr>
<tr>
<th>Proactive Communication</th>
<td style='text-align:center;'>" & galAllAudits.Selected.'Proactive Communication'.Value & "</td>
<td style='text-align:center;'>" & galAllAudits.Selected.'PC Orig'.Value & "</td>
</tr>
<tr>
<th>Timely Feedback</th>
<td style='text-align:center;'>" & galAllAudits.Selected.'Timely Feedback'.Value & "</td>
<td style='text-align:center;'>" & galAllAudits.Selected.'TF Orig'.Value & "</td>
</tr>
</table>
<table style='width:100%;font-family:verdana'>
<tr style='background-color:LightGray;height:50px';>
<th>Positive Feedback</th>
<th>Opportunity Feedback</th>
</tr>
<tr style='width:50%,height:50px'>
<td style='text-align:center;'>" & galAllAudits.Selected.'Positive Feedback' & "</td>
<td style='text-align:center;'>" & galAllAudits.Selected.'Opportunity Feedback' & "</td>
</tr>
</table>
</body>
"
PDF Test Button:
ForAll(Filter(galAllAudits.AllItems,Checkbox3.Value) As AUDITPDF, PDFTest.Run(HtmlText3.HtmlText))

So if I were to select the PDF Test button with the screenshot above, it would only run my flow for the Merry Pippin item in the gallery two times. The flow is working as it should otherwise, which makes me think it's something in Power Apps. I'm hoping it's just some funky formula for the PDF Test button, but any help would be appreciated!