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

Obtains the username instead of accountName for Binding Variable ${account_name}

BalajiE
New Contributor
New Contributor

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.

 

4 REPLIES 4

NM
Honored Contributor II
Honored Contributor II

Hi @BalajiE try task.accountName

SumathiSomala
All-Star
All-Star

Raghu
All-Star
All-Star

@BalajiE  check below

${task.accountKey?.name}


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

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'.