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

Email issue on Task Create on disable account from User update rule

SavUser1
New Contributor III
New Contributor III

We are triggering disable account task from user update rule and at endpoint i have configured the email on task create. The email is getting triggered but the issue is instead of printing the value of the variable it is printing variable itself.

SavUser1_0-1719613553913.png

SavUser1_1-1719613586257.png

 

6 REPLIES 6

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

Thank you. This worked.

For Disable Account on task create we are sending user's in user group notification using the below variable

To : ${tasks?.endpoint?.getOwnersEmail()}
 
The same variable is not working for New Account for Task Create notification.Any input ?
 

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

Thank you this helped. But it do not fetch the user specific details like cost center location etc. What variable can be used ?

${user?.costcenter} 

${user?.userstablecolumnname}


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