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!
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’.
The trigger condition is then set in the trigger.
@contains('triggerOutputs()?['body/{Name}']','%')
Once run, the flow does not run in a loop.
Best Regards,
Wearsky
WarrenBelz
146,605
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,946
Most Valuable Professional