I have a Sharepoint folder "1"
Folder "1" has a folder inside it called "1a"
I am triggering a flow through "When a file is created (properties only)"
I currently have a flow that triggers off of a file being dropped into Sharepoint folder "1". The flow ends in moving that file from folder "1" to "1a". This seems to trigger another instance of the flow, so it seems like Flow is counting files created in "1a" as being created in "1".
How can I exclude subfolders from the trigger? I.e. I'd like to ONLY trigger flows from creation of files in "1" and not any of its subfolders.
Thanks
Solved! Go to Solution.
Hi @chenjonathanc ,
You could set trigger conditions. Flow is triggered only when the folder path is equal to the specified folder.
Image reference:
Best Regards,
The trigger is by design. What you could do is check the Folder Path property under an IF condition to avoid the set of actions after the trigger if it's from sub-folder.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blog
Hi @chenjonathanc ,
You could set trigger conditions. Flow is triggered only when the folder path is equal to the specified folder.
Image reference:
Best Regards,
Hello @v-bacao-msft, I know this is an older post, however, I'm trying to accomplish the very same thing with a flow. I do not want the flow to trigger if a file is created in subfolders.
When I try to add 'trigger conditions' my Array is different than what is noted in the solution.
The error upon flow execution is;
Any thoughts/ideas?
2 years later, this still works. Thanks.
User | Count |
---|---|
94 | |
44 | |
21 | |
20 | |
16 |
User | Count |
---|---|
137 | |
56 | |
46 | |
36 | |
26 |