query folder for specific items


Badge +8

Good day,

I have a document library and I want to search through it and look for items that have a specific name.  Basically if an more then one item has 'x' in the name send an email.  And it also needs to run on a folder and not that documents themselves.

Any suggestions?

Thanks,

Jennifer


3 replies

Userlevel 7
Badge +17

Use the Query List action and filter based on Title contains 'X', and if you want only Folders, or Only documents, or both, then add a filter based on Content Type.

query%20list0.png

You will then get in return a collection variable will all the matching items.

Badge +8

Thanks for the reply!  When I run the query list and put in my filters, nothing is returned.  Do I have the correct value for the content type, and if not where would I find that?

203389_pastedImage_1.png

Thank you,

Jennifer

Userlevel 7
Badge +17

Looks correct, but i'm not sure if it is caps sensitive to have documents over Documents. This query will also only look for final within the FileName. 

Reply