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

Comparing Doc Library Folder name to List Item

I'm trying to compare the names of the folders in a document library to a specific field in a bunch of list items. If they match, I want to update the folder's metadata to include another field from the matching list item. 

I've tried numerous variations on this but currently if the folder's Full Path contains the list item's User34 value, it should update the file properties. The folders are named by another (auto-triggered) flow specifically using the User34 value, so it SHOULD be contained by the Full Path as far as I can see. 

Every time I run the flow it 'succeeds' but doesn't update the folders; when I looked at the Run History, my condition returns the result 'False' and I'm now completely confused. 

 

Thanks in advance!!

alexleetoo17_0-1636043382052.png

alexleetoo17_1-1636043419172.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @alexleetoo17 ,

 

Firstly, please check if the full path of the folder contains the value of list. (Check uppercase and lowercase)

Secondly, please check if the 'full path' of the 'get items' action is invoked .

 

I did a test for you.

 

vxiaochenmsft_0-1636352164951.png

vxiaochenmsft_1-1636352188371.png

 

vxiaochenmsft_2-1636352212383.png

vxiaochenmsft_3-1636352341561.png

vxiaochenmsft_4-1636352360776.png

vxiaochenmsft_5-1636352373848.png

vxiaochenmsft_6-1636352404358.png

vxiaochenmsft_7-1636352410978.png

 

 

Best Regards,

Wearsky

 

View solution in original post

2 REPLIES 2
v-xiaochen-msft
Community Support
Community Support

Hi @alexleetoo17 ,

 

Firstly, please check if the full path of the folder contains the value of list. (Check uppercase and lowercase)

Secondly, please check if the 'full path' of the 'get items' action is invoked .

 

I did a test for you.

 

vxiaochenmsft_0-1636352164951.png

vxiaochenmsft_1-1636352188371.png

 

vxiaochenmsft_2-1636352212383.png

vxiaochenmsft_3-1636352341561.png

vxiaochenmsft_4-1636352360776.png

vxiaochenmsft_5-1636352373848.png

vxiaochenmsft_6-1636352404358.png

vxiaochenmsft_7-1636352410978.png

 

 

Best Regards,

Wearsky

 

alexleetoo17
Helper I
Helper I

Thank you very much!

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

Users online (1,597)