Page 1 of 1

Tagging based on containing folder

PostPosted: Sat Aug 05, 2017 6:26 am
by Valentin
Hi there!

I would like to tag files based on the name of their container. Everyfile that is inside of a folder names "Invoices" should be tagged as "Invoice". I've read the subfolder documentation and I think I followed it, but somehow it does not work. Can anyone tell me what I did wrong?

Screenshot: http://prntscr.com/g4np5w
So I said:
Code: Select all
IF (Containing folder == Invoice) -> Tag file as "Invoice" / Run rules on folder contents


It doesn't do anything unfortunately. Thankful for any help, because me demo expires and I would like to know if it works before I purchase.

Thanks and best wishes

Valentin

Re: Tagging based on containing folder

PostPosted: Mon Aug 07, 2017 12:30 pm
by Mr_Noodle
First off, don't use "Run rules on folder contents" in this rule. Read the article on subfolders as that shows you how you need a separate rule for that.

I don't if "Dokument-Container" is accurate. If it is then continue using that. Otherwise, you'll need to do something like:
Code: Select all
If (all) are met
    If (all) are met for (the enclosing folder)
        Name is Invoices

Read up on "nested conditions" on how to do the above.