web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Need to wait for one o...
Power Apps
Answered

Need to wait for one of two flows to finish before starting the other?

(0) ShareShare
ReportReport
Posted on by 147

Hello

 

I have two flows. One is triggered when an email arrives and uses AI builder to extract an Excel file attachment and store that into a SP list. The other flow is triggered by clicking a button on the same SP page which copies the SP list into a new Excel file and then clears the list and archives it. The problem i'm having is if the first flow is running and then someone clicks the button, it's copying the list data to the excel file ok but is clearing some of the new data that is coming into the list from the first AI extraction flow.

 

I've read about concurrency settings on triggers. Is that the correct approach to make the flow with the button only run if the other flow has finished?

 

Many Thanks

 

Rob

Categories:
I have the same question (0)
  • AVFC Profile Picture
    147 on at

    Apologies to bump this but i need this completing for a Finance project. As it is two separate flows, is it not possible for one to only run when the other is completed?

  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @AVFC 

     

    i dont know if i fully understood what u are trying to do.

     

    but in case i did here is my suggestion.

     

    Does the second flow need to be triggered by a buttonclick? Why not trigger the flow when the new entry in the sharepoint list is added? There is an action called "When an item is created". You could use that as a trigger for your second flow.

     

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • AVFC Profile Picture
    147 on at

    Thanks for the quick response!

     

    • So colleagues are sending in pettycash attachments which are being saved into SP  pettycash import list and the trigger for this flow is when an email arrives in shared mailbox. 
    • At the end of the day the finance dept want to export the data into a spreadsheet and clear that import list above and move items to pettycash archive. This flow must be triggered by a button and not the other flow as they only want to generate one excel file at end of day after many schemes will send in their petty cash files throughout the day. The issue is that there could be a scheme sending in a pettycash file as someone has clicked the button causing the new data coming in to be partially cleared by the button click flow. 
    • Ideally i just want some logic that when clicking the button flow it only starts if the other flow isn't running...That's where i'm stuck..
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    you could use parent and child flows.

     

    Have a look at this ressource:

    Call Child Flows - Power Platform Release Plan | Microsoft Learn

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • AVFC Profile Picture
    147 on at

    Thanks for the link but not sure that will resolve my issue as i don't want to call the AI builder flow from the parent flow and the trigger of when an email arrives isn't an option when building the child flow..

     

    Don't think what i want is possible then..

  • Verified answer
    mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    copy paste your post to this community:

     

    Microsoft Power Automate Community - Power Platform Community

     

    i bet u can get your right answer fast there 

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • AVFC Profile Picture
    147 on at

    Ok thanks i will. I'll let you know if i get a resolution 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,045

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 592

Last 30 days Overall leaderboard