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 / When file created in S...
Power Automate
Unanswered

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!

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    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

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