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
Nicole Young 2Nicole Young 2 

Email alert is still being sent to queues even though I specify to only send it to the owner when it's a user. Please advise: This is the code I'm using:

AND (
  OR (
    [Case].RecordType.Name = 'Community',
    [Case].RecordType.Name = 'Payer',
    [Case].RecordType.Name = 'Partner'
  ),
  OR (
    AND (
      ISCHANGED([Case].Send_Attachment_Notification__c ),
      [Case].Send_Attachment_Notification__c = true
    ),
    AND (
      ISCHANGED([Case].Send_Comment_Notification__c ),
      [Case].Send_Comment_Notification__c = true
    )
  ),
  BEGINS([Case].OwnerId, '005'),
)
Abhishek BansalAbhishek Bansal
Hi Nicole,

It seems fine so in order to get the root cause of the issue we need some additional information. Can you please attach the screemshots of the workflow rule and email alert as well.

Thanks,
Abhishek Bansal.