Hi, this is my first post.
I have an Expenses Report Apps that works with lists and an approval flow. There are about 20-30 requests per month, but it happens that some of them (2-3) are strangely duplicated at the flow level, after the submit. Approvers then receive 2 times the same request why?
In the picture you can se that the 2 flows run at different times (in this case after 20 seconds).
these are the properties of the submit button in PowerApps:
AutoDisableSelect is true.
ApproveExpense.Run(SelectedReport.ID) lounch the Flow
Please help me!
The submit button should only have SubmitForm(...,
The rest should be in the OnSuccess property of the form.
Thank you, Drrickryp,
I made your change, and the apps works well, but we have to wait next month to see eventually duplicates.
The reason you had an intermittent problem is that sometimes PowerApps will execute commands in parallel rather than in series, particularly if one like SubmitForm() takes longer than the others. Besides, you only want the other commands to execute if the form is successfully submitted.
@Drrickryp ,
18 new requests was submitted, 2 of them started 2 times the approvals flow..
For example this:
I've made your suggested change:
But the problem remain.
Can you (anyone) help me?
User | Count |
---|---|
252 | |
107 | |
89 | |
51 | |
44 |