Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Can we add user details whose accesses are consulted in Consult/consult complete notification

sakshibansal
New Contributor II
New Contributor II

Hi,

Is it possible to add a user's details whose accesses are consulted by another reviewer in a consult or consult complete email template.

In the documentation, I could see only the below binding variable are exposed.

sakshibansal_0-1723118945091.png

 

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Please validate supported variables.

Purpose :

To get what variables are present to use in the email template.

Email Template steps :

keep Advanced HTML CSS flag is checked

Keep your email Address in TO

TO /CC/BCC & Subject - Don't use any dynamic variables

Add only below code in Email Body
${this.binding.variables.each {k,v -> println "$k = $v" + "" + "br" + ">"}}

Output : using the below expression. By putting it in the email body, it will print all variable names with values, and then accordingly, you can use it:


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

sakshibansal
New Contributor II
New Contributor II

Hi,

From the output, I got the correct variable name - certificationUsers. It has the value of the user's username whose access is being consulted.

I tried to get the certification user's firstname and lastname using ${certificationUsers?.firstname} ${certificationUsers?.lastname} respectively. It didn't work for me.

Do you know how to get the firstname lastname or other details of the consulted user?

 

This was the output:

manager = 98765432
certificationUsers = 987654311
delegateUser =
usersManager = 98765432
users = 1111
secondarycertifier =
certification = com.saviynt.ecm.campaign.domain.Certification : 8
out = java.io.PrintWriter@17168a2a 
delegateEmail =
originalCertifier = 98707811
campaign = com.saviynt.ecm.campaign.domain.Campaign : 8
campaignOwnerAndTheirDelegateEmailList = test.user@xxx.com 
baseUrlForEmail = https://hostname.saviyntcloud.com/ECM 

You will just username not other details


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.