For more information, please refer to this announcement explaining best practices for getting answers to questions.
Time and Labor Alert Composer Alert not triggering correctly
Summary:
I have created a custom resource alert. The resource is timeRecordGroups. When I test the alert in simulation mode, it sends more alerts than I'm expecting it to.
Content (required):
I've added two filters. One is custom SQL, see snippet below, to trigger based on personId that meet the SQL criteria. The second filter is a person ID that I have hard coded. When I run the SQL in the DB, it returns 1 row.
I've added a simple template, see screenshot below, and am sending the email to my personal address.
I expect the alert to send me one email with the DisplayName that belongs to the person Id I hard coded. Instead it sends over 50 emails. Sometimes the DisplayName is blank, sometimes the displayname is the correct person, and sometimes it's the name of a different person. Why is it sending multiple emails?