Hi,
is it possible to select only folders on Sharepoint and that only folder are selected, that contain a specific string, e.g. foldername is "20240101 Example" and it should be selected and then deleted if it contains "2024".
Many thanks in advance!
Hi @actuallyba ,
I did a test for your reference.
In my scenario:
@and(equals(item()?['{Path}'],'libraryname/'),equals(item()?['{IsFolder}'],true),contains(item()?['{Name}'], string(2024)))
length(body('Filter_array'))
items('Apply_to_each')['ID']
Best Regards,
Sunshine Gu
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional