Skip to main content
Nintex Community Menu Bar

query folder for specific items

  • May 19, 2017
  • 3 replies
  • 32 views

Forum|alt.badge.img+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

Forum|alt.badge.img+17
  • Nintex Partner
  • May 19, 2017

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.


Forum|alt.badge.img+8
  • Author
  • May 23, 2017

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


Forum|alt.badge.img+17
  • Nintex Partner
  • May 24, 2017

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.