Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Sometimes submit button launch 2 times the flow

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!

Super User
Super User


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.

Super User
Super User


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. 

Regular Visitor

@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?

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (6,019)