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

Unable to display the Line Manager name in Alert Notification

Accepted answer
edited Aug 17, 2021 4:33AM in HCM Integrations 14 comments



Can someone please help on how to display the Line Manager name and Email Address in the Alert Notification ?

I have initially tried to display in the tabular format (below code) which is working fine. But the client wants to trigger individual email notification for each termination. Hence the data needs to be displayed in rows instead of tabular format.

<tr style="nth-child(even);">

${AlertUtils.write("<table border=\"1\"><tr><th>Name</th> <th>Email</th><th>Manager</th><th>Manager Email</th><th>Department Name</th><th>Location</th><th>Termination Date</th></tr>")}
${AlertUtils.loop('workers,workRelationships','','<tr><td>${workers.names[0].DisplayName} </td>

Howdy, Stranger!

Log In

To view full details, sign in.


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