We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to group alerts in alerts composer to send a single email

Accepted answer
32
Views
1
Comments
edited Jun 27, 2020 4:28PM in HCM Integrations 1 comment

Content

Hi All,

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

${AlertUtils.loop('emps','')}

Name User Name
${DisplayName} ${emps.UserName}

and this is what I have in Group By field

${AlertUtils.payRep(emps.PersonId).WorkEmail}

When I run the alert it doesnt work and errors out with below message

Exception when sending message for recipient Id : 300000063600162

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!