Hi,
I am working on a flow with the following steps.
I query dataverse on all accounts that have unpaid invoices.
Then for each account of my query the flow get a list of invoices; after that I fill an array variable for each invoice with the information that I want to display in the word document.
In the next step I populate the word document with all the relevant information. The matrix variable goes in the repeating row of the template.
When I run the flow it functions as expected (a word file for each account) except that the repeating row shows a strange behaviour.
The first document that is generated shows the expected number of rows. The second document that is generated shows all the rows of the previous document plus the rows that are in the related array variable. This goes on until the last document is generatied that has then a list of all the unpaid invoices of all the accounts that were in my selection.
It appears as if the word action is not emptying the repeating row but keeps the already used information and adds new information to that section.
Doe anyone know how to avoid this - something like resetting the word action before creating the next document?