Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Dynamic Collection Files & Directories Issue

Hi all. I have a scan profile that checks for the existence of two different files found under a user's profile path. The scan profile scans all profiles under C:\Users\..

I am trying to make a collection that includes the computer only if the computer has BOTH files. If I make the collection look for just one of either of the files the computer is correctly included for the presence of each file. If I set the collection to Any instead of All it includes the computer. For some reason, though, if I set the collection to All it does not include the computer.

Here are the scan profile and collection:

What am I doing wrong?

 

0

Comments

4 comments
Date Votes
  • Additional information. I have verified that if I open the computer and look at Files & Directories I see both files listed.

    0
  • In the meantime I have worked around the issue by creating one collection to look for the first file and then nested a second collection to look for the second file and that appears to be working. Still, odd that it doesn't work the other way.

    0
  • That's due to how collections query the database. Try this:

    0
  • Thank you Colby. I was pretty sure I tried that without success on Friday, but tried just now and it worked.

     

    0