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 / Your flow is running t...
Power Automate
Unanswered

Your flow is running too many actions

(0) ShareShare
ReportReport
Posted on by 11

LarsHoubenDEV_0-1718263066113.png

I received an email that my flown is undergoing too many actions.
I am quite new and do not understand why.
The scenario I want to achieve is that my Name field in SharePoint is automatically updated using the Metadata entered.

LarsHoubenDEV_1-1718263105332.png

I don't understand why the flow restarts every 2 minutes

 

LarsHoubenDEV_2-1718263157555.png

 

Thanks in advance for the explanation and solution that you have for me

 

 

 

 

 

Categories:
I have the same question (0)
  • eetuRobo Profile Picture
    4,204 Super User 2025 Season 2 on at

    Your flow might be in an infinite loop. Are you sending the HTTP request to the same folder that it triggers?

    If so
    Flow triggers when file is created/modified
    Flow modifies the file
    That modification triggers the flow again
    repeats

  • LarsHoubenDEV Profile Picture
    11 on at

    Okay, that sounds very logical, so because of the HTTP Request it modified the file again.

    So what is the solution to stop it from running after the HTTP Request?

  • eetuRobo Profile Picture
    4,204 Super User 2025 Season 2 on at

    Would your flow work if you changed it to "When a file is created" -action

    eetuRobo_0-1718267175658.png

    So it would not trigger if its modified.
    Or does the flow need to trigger when a file is modified?

  • LarsHoubenDEV Profile Picture
    11 on at

    Eigatively also Modified, if they don't fill in the Metadata directly or they bulk load files, the name is never going to be correct.
    Maybe the solution, is to use a condition.
    If Modified not by Service account, do the http request

  • Verified answer
    eetuRobo Profile Picture
    4,204 Super User 2025 Season 2 on at

    Yes so if the flow cant use when created but also needs to include when modified then best way would probably be as you suggested to check who modified the file. You could do as you suggested condition that checks who modified it and as long as its someone else than the automation account then run the flow. Otherwise terminate the flow. That would start the flow twice every time so once more than needed.

    The best way would probably be to add Trigger Condition so that your flow start every time to just terminate itself after your flow has modified the file.
    So Add trigger condition under actions settings:

    eetuRobo_0-1718277167667.png


    Then put something like this: in the condition: 

    @not(equals(triggerBody()?['Editor']?['Email'], 'automations@Email.com'))


    https://powerusers.microsoft.com/t5/Building-Flows/Trigger-condition-When-a-file-is-created-or-modified-properties/td-p/503756

     

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard