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

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

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