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.
It 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.
Looks like thats the choice column. Have a look at my video about how to filter SharePoint Choice column data types?
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.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
If you are a small business ISV/Reseller, share your thoughts with our research team.