I have a OneDrive for Business folder where zip files are dropped. I'm trying to monitor the path and create a trigger when a new file is created then process the zip file and delete it. I can do this when a single file is dropped. When 2 files are dropped, there always a flow failure somewhere.
I suspect this is due to how I'm determining what files are available. I call the action 'List files in folder' and store the file paths and file Ids in 2 arrays to avoid changes to the receiving directory (additional files being dropped immediately after the trigger).
I see that the Trigger 'when a file is created (properties only) preview' returns a list of files. I can't find how to use this output. The typical 'apply to each' does not appear to provide items from the list. It seems to only provide the list.
Any thoughts or suggestions?
Thank you
Solved! Go to Solution.
Hey @dicksonma
The trigger is fired for each individual file added... you should just simply process the file the trigger fired for.
See below... I added four files at the same time and the Flow was fired four times.
HTH
Jay
-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up
Hey @dicksonma
The trigger is fired for each individual file added... you should just simply process the file the trigger fired for.
See below... I added four files at the same time and the Flow was fired four times.
HTH
Jay
-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up
Hello @dicksonma
I created a flow using the "When a files is created" trigger and it is working for each file I am uploading on one of my OneDrive's folder. I mean, the flow is executed individually for each uploaded file:
I uploaded two files at the same time and the flow was executed twice:
Hope it helps!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
66 | |
23 | |
16 | |
16 | |
13 |
User | Count |
---|---|
116 | |
35 | |
32 | |
28 | |
26 |