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 Automate / Approval flow runs twice
Power Automate
Answered

Approval flow runs twice

(0) ShareShare
ReportReport
Posted on by 18

Hello,

 

My approval flow runs twice every time and item is edited in my SharePoint library and I am unsure why. I have removed conditional triggers and any loops involved, but still cannot figure out why it runs twice every time it is triggered. Can anyone see any issues in my flow where this could be happening? 

 

snippet 1.PNGsnippet 2.PNGsnippet 3.PNG

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,417 Most Valuable Professional on at

    Did you add a trigger condition to make sure it doesn't re-trigger the flow when you set the content status?  Take a look at the following article.

    How to avoid infinite trigger loop in Power Automate (tomriha.com)

  • mpacifico777 Profile Picture
    18 on at

    Hello,

     

    After looking at the article I have tried but this error is coming up now. After the edits are made to the file its status is set to "Pending" but I don't know how to tell the function to look for that value 

    snippet 4.PNG

  • mpacifico777 Profile Picture
    18 on at

    I realized I had the @ in the wrong spot and removed a parenthesis, I will now try this again.

  • mpacifico777 Profile Picture
    18 on at

    The flow is not triggering at all now.

     

    @equals(triggerOutputs()?['body/ApprovalStatus/Value'], 'Pending')

     

    Here is the conditional trigger I am using, anyone know what I am doing wrong?

  • Pstork1 Profile Picture
    69,417 Most Valuable Professional on at

    The item won't be marked as "Pending" until the approval is sent.  So I suspect that is why its not triggering. The best way to do this is to run the flow under a service account.  Then use a trigger condition that it the item wasn't modified by that service account.  If anyone else modifies the item the flow will trigger, but if the flow modifies it, then it won't.

  • mpacifico777 Profile Picture
    18 on at

    I was able to solve the issue from the article you sent, thank you very much!

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 Automate

#1
Vish WR Profile Picture

Vish WR 862

#2
Valantis Profile Picture

Valantis 738

#3
Haque Profile Picture

Haque 553

Last 30 days Overall leaderboard