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

CustomProperty dynamic value for email template template.

RevatiTarale
New Contributor II
New Contributor II

I have one requirement where I need to send an email whenever an attribute is updated.

The below attributes are updated for Users.
1. Cost Center : ${user.costcenter} : Failed
2. Business Title : ${user.title} : Failed
3. Department : ${user.departmentname} : Failed
4. Functional Unit : ${Users.CustomProperty6} : Failed
5. Job Title : ${Users.CustomProperty1}

6.FirstName : ${user.firstname} : Succeed
7. LastName : ${user.lastname}, : Succeed
8. Email : ${userEmail}  : Succeed

Can anyone help me to understand which dynamic attribute or in what format that attribute we need to pass .

3 REPLIES 3

Raghu
All-Star
All-Star

@RevatiTarale  Can you give some information please ?

Above content saying Sucess/Fail - what is mean?

you trigger via update user rules based on condition ? if already using all data populating via Create user form?

 


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

PremMahadikar
All-Star
All-Star

Hi @RevatiTarale ,

 

Can you try below:
4. Functional Unit : ${Users.CustomProperty6} : Failed ${user.customproperty16}
5. Job Title : ${Users.CustomProperty1}  ${user.customproperty1}

If this helps, please consider selecting 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'.