Hey guys, quick question.
I'm trying to set up a flow which deletes only Excel files from a folder, but shouldn't delete specific file.
All files are ".xlsx" files and the one who shouldn't be touched is named "Template.xlsx" all the other ".xlsx" files can be deleted.
This is what I came up with so far, but I don't have any clue how I should continue:
It is important that the Flow doesn't delete the "Template.xlsx" file, but any other ".xlsx" file.
Thanks in advance for your help guys!
Solved! Go to Solution.
Hi @ma_91
Here it is
Under the apply to each loop add a compose action to find the extension of the file. The expression I used is as follows:
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi @ma_91
Please follow the below steps:
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my bloghey @abm
thank you so much for your help.
your flow is indeed working, but it deletes any other file aswell. It should only delete ".xlsx" files.
Hi @ma_91
I was only following your orders. This is what you mentioned earlier 🙂
All files are ".xlsx" files and the one who shouldn't be touched is named "Template.xlsx" all the other ".xlsx" files can be deleted.
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHey @abm
sorry, that was my fault.
How do I configure it to only delete ".xlsx" files not everything else?
Hi @ma_91
Here it is
Under the apply to each loop add a compose action to find the extension of the file. The expression I used is as follows:
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogThe 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.
User | Count |
---|---|
75 | |
20 | |
17 | |
14 | |
13 |
User | Count |
---|---|
127 | |
35 | |
31 | |
28 | |
25 |