function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

I have a case assignment rule that is not catching subject line stuff

It's Rule #1 in the case assignment rule list. It is letting emails with the subject containing "Automatic reply" attach the email to the case. It should be just dumping these into the spam queue and closing them.

Is there something wrong with my logic?
	(isPickVal(Origin, "Email"), 
		isPickVal(Origin, "ReplyEmail") 
	(contains($Label.Spam_Email_Addresses, SuppliedEmail), 
		contains(SuppliedEmail, "No Reply"), 
		contains(SuppliedEmail, "NoReply"), 
		contains(SuppliedEmail, "No-Reply"), 
		contains(Subject, "Out of Office"), 
		contains(Subject, "OutofOffice"), 
		contains(Subject, "Out-of-Office"), 
		contains(Subject, "Automatic reply"), 
		contains(Subject, "Delayed Mail") 

William TranWilliam Tran
Can you provide an example?  is the spelling correct? is the case correct? is the origin always Email or ReplyEmail? is isNew() always true?

is "Automatic reply" the only issue or do all of them have issues? like "Out of Office"?

So, we send out an email to one of our customers that their case has been upated. If they have an auto responder, like if they are out of office, we want the response to be caught by the rule above. So I guess the scenario is not always when the case is "new".