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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Multiple Approval and ...
Power Automate
Unanswered

Multiple Approval and Email requests generated

(0) ShareShare
ReportReport
Posted on by 19

I've created a vacation request flow that is inconsistently creating multiple Approvals/Email requests. I added an Update item to grab the Outlook Event ID to allow me to cancel the event in the future. I am not sure what Condition I can apply to prevent the loop. I am a novice at Power Automate. Thank you!

 

Terri_0-1657131788922.png

Terri_1-1657131810643.png

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    It may have something to do with putting the condition for Outcome inside the Apply to Each based on responses. If you have multiple approvers then responses will be an array with the response of each approver, but Outcome will be a comma delimited list of approve or reject for each approver.  So the condition check on Outcome should be outside the loop.  It should also be based on Outcome does not contain Reject, since there may be one or more Approve and "Approve, Approve" does not equal "Approve" so it will tend to always be no with multiple approvers.  Once you have checked the overall Outcome of the approval then you can loop through the responses to do things with the details.  But if you only want to send one email then you need to gather those details up into a string or html table and send the email after exiting the loop.

  • Terri Profile Picture
    19 on at

    I only have 1 person assigned as approver. I cannot start the approved flow without an approval status. Will "Outcome does not contain Reject" still meet that requirement?

  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    I'm not sure what you mean by you can't start the Approval flow without an approval status.  If you only have one Approver it would still be best to add the condition outside the loop.  Are you getting multiple emails from each run of the flow?  Or is the step where you update the item causing the flow to start again?  If that is the case you need to add some kind of trigger condition that will only fire before the item is approved. 

  • Terri Profile Picture
    19 on at

    I've tried multiple ways to reconfigure the approval flow outside of the conditional loop but it still is sending the request again. I have even broke it out into a separate flow. All not working. 

     

     

    Terri_0-1657140985628.png

     

  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    Take a look at this article about how to avoid an infinite trigger loop.  I suspect that is what is happening.  When you update the item after the approval it re-triggers the flow.  You need to add some kind of trigger condition to prevent that.  How to avoid infinite trigger loop in Power Automate (tomriha.com)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard