Hi All
I have a Flow that i have made that allows me to create a PDF from a Microsoft list:

I have paralell branches as i have 2 lists.
List 1- I only need to capture 1 item from the list.
List 2 - I need to capture all of the items that has the same ID as from list 1 (1 to many relationship)
This flow works to the point where list 1 creates a PDF and list 2 also creates a PDF but only displays 1 item when there are multiple Items.
I have used the Apply to each function to get all items ready.
I believe the issue is within my Compose function, as i have composed and used dynamic formula to create the PDF. how to i get this to repeat for all of the items within the list rather than having multiple of the same formula? (i hope this makes sense) i will put my HTML formula below for you to see.
<title> Policy Procedure</title>
<p>
Ref No.: @{items('Apply_to_each_2')?['Deployments_x002f_Comments_x002f']}
<p>
Event:,@{items('Apply_to_each_2')?['DecisionNo_x002e_']}
<p>
Date Commenced@{items('Apply_to_each_2')?['User']}
<p>
Comander:@{items('Apply_to_each_2')?['Title']}
<p>
Logist Name:
<p>
Date Completed:
<p>
I need the data to concatenate, and continue adding until there is not more data to add.
Kind Reagrds
Justin