Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/08/2023 05:34 AM
Hello,
How do we fetch subordinate usernames of a manager?
Context: We are trying to send an email which will have username and displayname of transferred subordinated to new manager, when users current manager changes.
09/10/2023 10:08 PM
Please go through the below document and refer to the sample email (Example 6) relevant to this use case.
Creating and Managing Email Templates (saviyntcloud.com)
Example 6: Email to list all the managers and the details of their sub-ordinates. Manager receives a single email with the details of all the sub-ordinates.
To group emails by users, go to Admin > Global Configurations > Analytics and select Group Analytics Emails by Username .
To:
${userEmail}
Body:
Hi ${ANALYTICSDATA.MANAGER[0]},
Please find the monthly report of the details of all your reportees.
<table>
<tr>
<th>Reportee ID</th>
<th>Reportee Email</th>
<th>Title</th>
<th>City</th>
<th>Start Date</th>
</tr>
<% int count=Integer.parseInt("${ANALYTICSDATA.MANAGER.size()}"); for(int i=0;i<count;i=i+1){%>
<tr>
<td>${ANALYTICSDATA.'REPORTEE ID'[i]}</td>
<td>${ANALYTICSDATA.'REPORTEE EMAIL'[i]}</td>
<td>${ANALYTICSDATA.'TITLE'[i]}</td>
<td>${ANALYTICSDATA.'CITY'[i]}</td>
<td>${ANALYTICSDATA.'START DATE'[i]}</td>
</tr>
<% } %>
</table>
09/12/2023 02:46 AM
Hi @Dhruv_S
This solution you proposed does not solve the issue, and if you look back to the context, our goal is to send this notification via user update rule.
09/14/2023 10:28 PM
We will check and get back to you on this.
09/19/2023 08:15 AM
Hi @ant
Is it the same usecase you are referring to
Already ideas portal is raised for this
https://ideas.saviynt.com/ideas/EIC-I-3874
if its just the email to new manager details to be shared then you can use notify as an email to set the email template as ${ownerOnTerminate?.email}
Thanks
Darshan
09/19/2023 10:58 PM
This is pretty much same case as the one mentioned in your first link in your response.
Upvoted that idea and hope it can be addressed soon. Please keep us posted on this
09/20/2023 01:04 AM
Sure ,
Thanks for the update.
Thanks
Darshan