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

How to pass account custom properties in email templates

Bhargavi3
New Contributor III
New Contributor III

Hi Team,

We are trying to trigger an email template when we

1.deactivate an account 

2.add access.

In email we need to pass role ID where we are storing that role ID in accounts customproperty11 through dynamic attribute. We are using ${account.customproperty11} but email is getting triggered but we are not able to fetch roleID.

For deactivation account, mail is getting triggered but unable to see roleID which we are storing in accounts cp11 attribute.

Could someone help us with binding variable for account custom property attributes.

Thanks,

Bhargavi Padaraju.

 

 

 

6 REPLIES 6

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @Bhargavi3,

We are checking on your request and we will keep you posted on the same.

Bhargavi3
New Contributor III
New Contributor III

@DixshantValecha , Thanks for the reply.

We have Go Live dependency on this use case. Would be great if we get any solution.

Thanks,

Bhargavi Padaraju.

rushikeshvartak
All-Star
All-Star

Share 

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

Bhargavi3
New Contributor III
New Contributor III

Hi @rushikeshvartak , I triggered email with above binding variables but did not see any account related custom properties.

@DixshantValecha , I followed  the docs which you shared but nothing worked.

I used the below binding variable:

${accounts.customproperty1}

${account_customproperty1}
${accounts?.customproperty1}

${accessItems.collect{ it.request_access_attrss.find{it.attributeName.toString().equalsIgnoreCase('RoleCode')}.collect{it.attributeValue}}.get(0)}


I tried dynamic attributes also, as we are storing dynamic attribute value in account customproperty 
did not work.
Could someone help me in this?

Thanks,

Bhargavi Padaraju.

Share results of binding variables


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