Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Flow Approval Requests that were Completed keep coming back

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I recently changed one of my Flows to add an approval process.  I had some challenges getting it quite right, but eventually got it working.   Along the way, I had to cancel some reason after the approval requests had gone out as the run seemed to just hang.  I eventually determined it was some bad configuration in an email action after the approval process.

To clean up the approvals, I accepted all of them.  I determined the problem was the use of variables with concurrency.

However, each morning I find the approval requests back in my email and Flow site, but with the date and time from 2 days ago.  Note I am using concurrency in my apply to each.  Any idea why this is happening and how to stop it? I Have turned off all flows and it still keeps happening

 

Here is the flow, it queries a SQL DB and then runs through an apply to each for the return values:

 

MS_Sol_0-1599203617937.png

 

  • MS_Sol Profile Picture
    Microsoft Employee on at
    Re: Flow Approval Requests that were Completed keep coming back

    The flow:

     

    1. Queries SQL for in scope items

    2. does a apply to each on those items

    3. Does several stored procs to getting more details, including who should receive the email with the details in #5

    4. Sends the details for approval, sent to about 6 people, same people for every item

    5. Sends an email with the details and approval comments

     

    I had to enable concurrency on #2 or it only sent one approval out until it was completed.

    Turning on concurrency made my variables not work, so changed to use proc output direct and some compose actions

    Then some items didnt send out an approval.  Couldnt see in flow where the problem was.

    Fixed leading space in the recipient list for step 5 and it "Seems" to be working, but had to stop testing until 10/1.  

    Last 4 days I continue to receive approval requests even though no flows are running.

     

    Thanks

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: Flow Approval Requests that were Completed keep coming back

    @MS_Sol 

    I agree with @alrez in that there are some issues with your Flow.  Can you describe what you want to accomplish with a little more detail?  If so, then I will provide a sample Flow for you.  I guess what I am asking for is for you to describe the approval process that you would like to implement.

     

     

  • alrezac Profile Picture
    on at
    Re: Flow Approval Requests that were Completed keep coming back

    Hi,

     

    First off, "Start and wait for an approval" Will wait until all the responses have been submitted before it will move onto the next step. So if you are sending an approval off to 5 different people it will wait until all 5 people have accepted or denied the approval request. Second, for each approval it will run through the "For each" statement and it will send an email for each person, so if there are 5 people doing the approvals it will send an email 5 different times. You should use a variable to set what you want to do within the "For each" Loop then outside the loop check the variable to see what it should do.

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow