I have created a Flow to get the Files from a Folder in sharepoint. This folder contains all the files with extensions like .pdf,.xlsx and .eml(referring to emails). Now in the Action Get files (Properties only), I need to write a Filter query to get all the Files except for .eml extension.
I am not sure on how to write it. Need help
Solved! Go to Solution.
Hey @MohammedShaban
You use the Filter Array and leave out the '.eml'- See - https://powerusers.microsoft.com/t5/Using-Flows/Sharepoint-filter-by-file-type-extension/td-p/192353
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.
Hey @MohammedShaban
You use the Filter Array and leave out the '.eml'- See - https://powerusers.microsoft.com/t5/Using-Flows/Sharepoint-filter-by-file-type-extension/td-p/192353
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.
@CFernandes Thank you, I am able to get only the files with the required extension.
Once I pass the value in apply to each it gives me an error "The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each_2')' is of type 'Object'. The result must be a valid array" I tried taking a compose action and in the array function passed the item from the Filter array but still seeing the same error.
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 |
---|---|
42 | |
18 | |
16 | |
15 | |
13 |
User | Count |
---|---|
69 | |
36 | |
28 | |
21 | |
19 |