How to group alerts in alerts composer to send a single email
I have created an alert that is sending email to payroll representative. This is working fine but Payroll rep is receiving multiple emails for each employee. I am planning to group it so that he receives a single email with details of all employees.
I have put below code in the body
and this is what I have in Group By field
When I run the alert it doesnt work and errors out with below message
Exception when sending message for recipient Id : 300000063600162