For more information, please refer to this announcement explaining best practices for getting answers to questions.
Unable to display the Line Manager name in Alert Notification
Content
Hi,
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>