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

Termination email body sending incorrectly from update user rule

robert_bowman
New Contributor III
New Contributor III

When user update rule fires off for Terminated users, I have notify as email.  The email is hitting the mailbox, but the only thing in the body is the word true.

1 (5).jpg

Below is the html I am expecting to render.

 

<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<img src="https://removed" alt="Header Image">
<div> <br></div>
</head>
<body>
<div>Hello,</div>
<div>See below regarding separation and termination of access. Please take action needed in any applicable systems.</div>
<br>
<p><FONT COLOR="#ff0000"><b>Ensure that any hardware issued to this person that may contain ****** data or information is collected and returned (e.g., laptops; smartphones, tablets).</b></FONT> </p>
<p><FONT COLOR="#ff0000">Other hardware may be returned but is not required. For Employees this task is performed by Human Resources. For Contingent Workers this task is performed by procurement staff and the contract owning manager in conjunction with the vendor/supplier.</FONT></p?
<br>
<p>Usertype: <b><u>${user?.employeetype}</b></u></p>
<p>Full Name: ${user?.displayName}</p>
<p>Account Name: ${user?.systemUserName}</p>
<p>User Principal Name: ${user?.email}</p>
<p>Department: ${user.departmentName}</p>
<p>Title: ${user.title}</p>
<p>Reports to: ${user.manager}</p>
<p> </div>
<p>Regards,<br></p>
<p>******* IGA Team</p>
<p><br><i>Note: This is an auto generated email, do not reply.</i><br></p>
<br>
</body>

 

EDIT: Realized title was misspelled <titel>. Will test to see if anything changed, but I don't think it will.

[This message has been edited by moderator to mask sensitive info]

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

Remove dynamic variables from email template and test. Keep static text

after that check variables exposed

To get what variables are present to use in the email template, check 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:


${this.binding.variables.each {k,v -> println "$k = $v" + "" + "br" + ">"}}


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

Raghu
All-Star
All-Star

Please update below attribute chagne and check it , just removed '?' in binding variable 

<p>Usertype: <b><u>${user.employeetype}</b></u></p>
<p>Full Name: ${user.displayName}</p>
<p>Account Name: ${user.systemUserName}</p>
<p>User Principal Name: ${user.email}</p>
<p>Department: ${user.departmentName}</p>
<p>Title: ${user.title}</p>
<p>Reports to: ${user.manager}</p>


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