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.

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,220)