Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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!

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: When file created in Sharepoint looping issue

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,605 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow