Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Email template on Retrieving Subordinate Usernames upon Manager Change

ant
New Contributor
New Contributor

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.

6 REPLIES 6

Dhruv_S
Saviynt Employee
Saviynt Employee

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>

ant
New Contributor
New Contributor

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.

Dhruv_S
Saviynt Employee
Saviynt Employee

We will check and get back to you on this.

Darshanjain
Saviynt Employee
Saviynt Employee

Hi @ant 

Is it the same usecase you are referring to 

https://forums.saviynt.com/t5/identity-governance/email-template-on-ownership-transfer/m-p/15498#M61...

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

ant
New Contributor
New Contributor

@Darshanjain 

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

Darshanjain
Saviynt Employee
Saviynt Employee

Sure ,

Thanks for the update.

 

Thanks

Darshan