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 Automate
Answered

Flow triggers itself

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a flow that is triggered when a SharePoint file is created.  If the file is a log file it moves it to a sub folder but the issue is that when the file hits the sub folder the flow is triggered again and obviously fails since the source and destination is the same.  Is there anything I can add to the flow to prevent it from looking in subfolders?  I am trying to prevent moving the Logs folder out from within the main folder.  Screenshot of the flow is below.

 

Image 139.jpg

Categories:
I have the same question (0)
  • Verified answer
    efisher Profile Picture
    52 on at

    Can you try using a different trigger: instead of when a file is created (properties only ) use When a file is created in a folder.

    this allows you to pick any subfolder in your doc library and then move it to a different subfolder in the same library without "getting file properties.

    In the condition use FileIdentifier ends with .log - see screen below. 

    hope this helps

     

    Flow.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

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard