Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/23/2024 06:17 AM
Hi Team,
We are Configuring New Account Creation Notification Email. We are using ${account_name} binding variable but it obtains username value instead of accountname.
Please let me know, which is the correct binding variable we should use to get the account name.
Solved! Go to Solution.
07/23/2024 06:41 AM
Hi @BalajiE try task.accountName
07/23/2024 07:06 AM - edited 07/23/2024 07:09 AM
@BalajiE Where did you attach the email template and when this will be triggered?
Did you refer below forum threads?
https://forums.saviynt.com/t5/identity-governance/sending-accounts-attributes-in-an-email/m-p/28954
07/23/2024 07:52 AM
@BalajiE check below
${task.accountKey?.name}
07/23/2024 08:15 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: