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
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

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

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!