Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/08/2024 05:09 AM
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.
08/08/2024 06:00 AM
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:
08/08/2024 03:09 PM
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
08/08/2024 03:34 PM
You will just username not other details