cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ErinCannon
Helper I
Helper 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
Helper I
Helper 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
Helper I
Helper I

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

View solution in original post

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,210)