Hello All,
I have a Power Automate flow that should moves files from one SharePoint document library to another SharePoint document library automatically based on years.
Year is a chose column in SharePoint which has : 2018, 2019, 2020, 2021 values.
I set up the flow to send all files from one SharePoint document library to another document library apart from 2021 files.
(Keeps all 2021 files and move all other years files to a new location).
Unfortunately it is NOT working. I would appreciate if you could help please.
Solved! Go to Solution.
The solution is this:
Adding this (Year ne '2021') into the "Filter Query" filed. Please see the attached screenshot.
Hi @Anonymous
What error are you getting?
Have a look at my video tutorial about moving files.
https://www.youtube.com/watch?v=B9ZxAd9JVVo&t=542s
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogIt sends all files despite there is filtering value sets: Year value is NOT equal to 2021.
In reality, it should NOT send the files that are tagged to 2021.
What is the data type of Year Value column? Could you try converting to string() or int() accordingly for the comparison.
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogIt is: Choice
How do I convert?
Hi @Anonymous
Looks like thats the choice column. Have a look at my video about how to filter SharePoint Choice column data types?
https://www.youtube.com/watch?v=N20Y-ZNRKhk&t=7s
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogThe solution is this:
Adding this (Year ne '2021') into the "Filter Query" filed. Please see the attached screenshot.
That IF condition is not evaluating due to datatype. So if you convert to int() it should work as expected I think. Glad to hear that you found a solution.
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.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
29 | |
27 | |
23 | |
17 | |
10 |
User | Count |
---|---|
66 | |
59 | |
29 | |
27 | |
25 |