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

Populate Word Template - Repeating Section Duplicate Issue

I have a flow that is triggered from PowerApps.  A collection is sent to Power Automate in JSON. When my flow runs, I can see that the input / output data has both of the records that were sent to it. I use the Parse JSON step to convert it into rows, append each row to an array in an Apply to each loop and then use the created array to populate a repeating section control in my document.

 

The problem is that the section is just repeating the 1st line, rather than what is actually in the array.

 

Raw input for the Populate a Word Template step:

ErinCannon_0-1600699932438.png

A screenshot of the output in Word:

ErinCannon_1-1600700234007.png

Screenshot of Repeating section in Template:

ErinCannon_2-1600700286283.png

Screenshot of Populate a Microsoft Word template step:

ErinCannon_3-1600700416855.png

 

Does anyone have any ideas?

 

1 ACCEPTED SOLUTION

Accepted Solutions
ErinCannon
Resolver I
Resolver I

Deleting the repeating section control from the template and recreating it seems like it has fixed my issue.

View solution in original post

2 REPLIES 2
ErinCannon
Resolver I
Resolver I

Deleting the repeating section control from the template and recreating it seems like it has fixed my issue.

cgarude
Frequent Visitor

Do you have a Create File action outside the Apply to each loop? Mind uploading a screenshot of your Flow showing the Create File and Template within the loop? I am looking to generate a single file with multiple pages in the document using the same template.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,657)