cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Eswar1
Helper I
Helper I

Need help with flow : Move document set based on condition from excel field value (When Document library column value = Excel value )

Dear All,

 

My requirement is to move the document set, from one document library to another based on the condition from an excel sheet.

 

Flow Structure:

 

 Flow structureFlow structure"The field is of type 'TaxonomyFieldType' cannot be used in the query filter expression. flow"The field is of type 'TaxonomyFieldType' cannot be used in the query filter expression. flow

Excel File:

 

Excel file valuesExcel file values

 

Regards,

Eswar

6 REPLIES 6
efialttes
Super User
Super User

Hi!
Some thoughts...
1.- do you want to move the entire folder or just the files you are trying to filter. If the answer is the second approach, then you should move them one by one (Apply to each, taking your array filtered as output)
2.- the error... it looks like the column type you are referencing in your Get Items filter is currently not supported in OData filter expressions... can you confirm which column type is defined in Sharepoint? are you using a LookUp Column? Maybe you need to remove OData filter expression from your Get items and add a Filter Array action block after Get items to filter its results. THere is an excellent thread describing this issue:

https://powerusers.microsoft.com/t5/Building-Flows/ODATA-Filter-queries-on-LookUp-columns-from-a-SP-...

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Dear 

 

 

2) The column type is metadata column in my document library and filter condition is SID = Column value of excel.

 

Kindly suggest me the approach or a sample flow with this query condition.

 

Regards,

Eswar T

Hi again!
Just to make sure... you mean this type of column?
https://support.office.com/en-us/article/create-a-managed-metadata-column-8fad9e35-a618-4400-b3c7-46...

Thanks!


Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Hi, 

 

Yes, it is a managed metadata column.

 

Regards,

Eswar T

 

PFA value.PFA value.

 

 

Hi again!

This thread discuss the same issue

https://powerusers.microsoft.com/t5/Building-Flows/Filtering-taxonomy/td-p/278941

Please note, if a metadata column value can be evaluated by means of a Condition action block, this means it can also be done by means of a Filter Array Action block

 

Another approach is to use "Send HTTP request to sharepoint, as discussed in this second thread:

https://sharepoint.stackexchange.com/questions/269433/filtering-on-managed-metadata-ms-flow

 

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,739)