"Add Tag" action doesn't seem to work

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

"Add Tag" action doesn't seem to work Mon Jan 27, 2020 9:29 pm • by nm1
Here is my rule, which has an action both to "Add Tags" and to move the subject file to a new location upon matching the specified criteria:

Image

The trouble is that the file gets moved to the specified location upon a match but does not get the specified tag added.

I have three other rules similar to this (slight variation in match criteria for each one and different tag/destination path for each one), but none of them seem to be working as expected.

Does anyone have any advice or ideas what's going wrong here?
nm1
 
Posts: 13
Joined: Thu Jul 12, 2018 2:18 pm

Re: "Add Tag" action doesn't seem to work Tue Jan 28, 2020 11:56 am • by Mr_Noodle
Go through the troubleshooting guide here: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/

Report back with the results. Also, btw, the nested condition here is unnecessary as it is just mirroring what the top level "any" already does.
Mr_Noodle
Site Admin
 
Posts: 11235
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: "Add Tag" action doesn't seem to work Tue Jan 28, 2020 4:59 pm • by nm1
Mr_Noodle wrote:Go through the troubleshooting guide here: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/

Report back with the results. Also, btw, the nested condition here is unnecessary as it is just mirroring what the top level "any" already does.


Thanks. The rule matches as expected when I use the preview functionality, but as I said, this is expected because the error I'm reporting is with the action to be taken, not with matching.

Here's an example from the logs to demonstrate that the "Add Tag" action is not being executed even though the "Move to Folder" action is being executed:

Code: Select all
2020-01-27 19:36:43.400 hazelworker[95844] 23 East 39th Street Developer LLC v 23 East 39th Street Management Corporation.pdf: Rule 2. Appellate Division matched.
2020-01-27 19:36:43.440 hazelworker[95844] [File Event] File moved: 23 East 39th Street Developer LLC v 23 East 39th Street Management Corporation.pdf moved from folder ~/Nextcloud/Work Product/Precedent Library/Cases to folder ~/Nextcloud/Work Product/Precedent Library/Cases/NYS/1. Appellate Division.
***2020-01-27 19:36:46.608 hazelworker[95849] 23 East 39th Street Developer LLC v 23 East 39th Street Management Corporation.pdf: Rule 2d Dept matched.
***2020-01-27 19:36:46.680 hazelworker[95849] [File Event] File moved: 23 East 39th Street Developer LLC v 23 East 39th Street Management Corporation.pdf moved from folder ~/Nextcloud/Work Product/Precedent Library/Cases/NYS/1. Appellate Division to folder ~/Nextcloud/Work Product/Precedent Library/Cases/NYS/1. Appellate Division/2d Dept.


And here is a screenshot of the rule "2d Dept":

Image
nm1
 
Posts: 13
Joined: Thu Jul 12, 2018 2:18 pm

Re: "Add Tag" action doesn't seem to work Tue Jan 28, 2020 5:37 pm • by Mr_Noodle
What happens if you add the tags in Finder? Do they stick?
Mr_Noodle
Site Admin
 
Posts: 11235
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: "Add Tag" action doesn't seem to work Tue Jan 28, 2020 10:19 pm • by nm1
Mr_Noodle wrote:What happens if you add the tags in Finder? Do they stick?


Yes, they do stick if added directly in the Finder. I also sometimes add them through DEVONthink Pro 3 and they stick fine through there, too.
nm1
 
Posts: 13
Joined: Thu Jul 12, 2018 2:18 pm

Re: "Add Tag" action doesn't seem to work Wed Jan 29, 2020 11:21 am • by Mr_Noodle
Try moving the tags action to before the move and see if that changes anything.
Mr_Noodle
Site Admin
 
Posts: 11235
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support