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 Platform Community / Forums / Power Automate / When file created in S...
Power Automate
Answered

When file created in Sharepoint looping issue

(0) ShareShare
ReportReport
Posted on by 14

I have a flow that checks a SharePoint folder for files (pdf files) and then splits the pdf pages into separate pdf files.  It works but it keeps looping over and over again.  How can I stop the looping from happening.  

 

Flow is attached...

Any assistance would be appreciated.  I tried multiple options with conditions and just cant figure it out.

 

Thanks!

2022-12-08_15-43-20.jpg
Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @mstarace1 ,

     

    If you want to not trigger the flow repeatedly after the operation 'Create File'.

    I suggest you add an uncommon character to the file name in action ‘Create File’.

    vxiaochenmsft_0-1670579446631.png

     

     

    The trigger condition is then set in the trigger.

    @contains('triggerOutputs()?['body/{Name}']','%')

    vxiaochenmsft_1-1670579446634.png

     

    vxiaochenmsft_2-1670579446634.png

     

     

    Once run, the flow does not run in a loop.

    vxiaochenmsft_3-1670579446635.png

    Best Regards,

    Wearsky

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 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard