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

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
    68,697 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
    68,697 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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard