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

Community site session details

Session Id :
Power Automate - General Discussion
Unanswered

Flow runs recursively

(1) ShareShare
ReportReport
Posted on by 13

Hello! I have created a flow for Sharepoint with the intention of copying a file to two different directories, but when it runs it iterates on itself. I'm not sure how to fix the issue, but I'm thinking it's probably something simple to do with the trigger.

 

What I want is this:

  1. When a file is uploaded to a specific folder within a specific Sharepoint library 
    1. Copy and rename the file and place it in a sub-folder within the same Sharepoint library
    2. Copy and rename the file (the originally uploaded file) and place it in another different sub-folder within the same sharepoint library

I have the renaming component working, but as I said above, the flow triggers itself. I think I need to specify that I only want a specific folder to be monitored by the trigger, but I don't see any options for that.

 

Any help would be greatly appreciated!

 

I have the same question (0)
  • lbendlin Profile Picture
    8,351 Super User 2025 Season 2 on at
    Re: Flow runs recursively

    You need to add that to your checks either as part of the trigger or  after the trigger. Like so:

    lbendlin_1-1692995662463.png

     

    or so

     

    lbendlin_0-1692995387174.png

     

  • RHamm Profile Picture
    13 on at
    Re: Flow runs recursively

    Will that work if the name of the file varies?

  • trice602 Profile Picture
    14,704 Super User 2025 Season 2 on at
    Re: Flow runs recursively

    Hi @RHamm ,

     

    Are you using this trigger?

     

    trice602_0-1692995488787.png

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 722 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 461 Moderator

#3
developerAJ Profile Picture

developerAJ 283

Last 30 days Overall leaderboard