brianjordan90 wrote:I'm having the same issue.
I am trying to execute the rules on subfolders.
Rule 1
if Kind is Folder
Run Rules on Folder Contents
Rule 2
if Kind is Folder
Change Color to Green
Rule 3
if Kind is Document
Change Color to Red
On Preview,
All of the Rule 3 Documents show up as Matched
All of the Rule 2 Folders show up as Go Into Subfolders.
The Question is, how can I make Rule 2 work.
Any help would be greatly appreciated.
Its because your subfolder rule is your top level rule and it matches the folder you are trying to color so it never gets to rule 2. You need to use subfolder depth to more fine tune your rules. So for example, the folder you are running rules on is called FolderA. Then you have a bunch of folders under A called FolderB, FolderC, FolderD. Then under each of those you have FolderB1, Folder B2, Folder C1, C2, etc. And you also have documents in those B, C, and D folders. Now lets also assume that B1, C1, C2, etc have even more folders under those. If the goal is to just check the contents with folder B, C, and D but deeper into B1, C1, etc you do not want to traverse, then you would set up something like:
Rule1 - kind is folder AND subfolder depth is less than 1 THEN run rules on subfolders
Rule 2 - kind is folder THEN color green
Rule 3 - Kind is document THEN color red
The subfolder depth 1 means that Rule 1 will not dive into folders whose depth is 1 or greater. And FYI 0 is the first level which is what folders B, C and D are so thats why Rule 1 matches those but not B1, C1, etc whose depth is 1.
Also note, that for the documents rule, if you have docs in the top level folder those will of course match too.
See if that works for you.
And to the OP, you should be able to use the same rule to match a certain sub folder and move all its contents without it diving further into the folders.