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 when remove access is completed

ejeong
Valued Contributor
Valued Contributor

I would like to send email to end user when remove access task is completed with entitlement detail. 

I applied email template in endpoint level 

ejeong_0-1660610386418.png

Following is email template I made... but I didn't get email when testing. Is there any binding variable not available ? 

<div> <table style="background-color: #eeeeee;" width="100%"> <tbody> <tr> <td style="background-color: #eeeeee;"> <table width="50%" align="center"> <tbody> <tr> </tr> <tr> <td style="height: 3px; background-color: #eeeeee;"> </td> </tr> <tr> <td style="color: white; font-size: 24px; padding-left: 24px; height: 130px;" bgcolor="#A9A9A9" width="50%"> <p style="font-family: arial; font-size: 24px; margin: 0px;">${endpoint}<br />Your Access hasn been revoked</p> </td> </tr> <tr> <td style="height: 8px; background-color: #eeeeee;"> </td> </tr> <tr> <td style="padding: 20px; font-size: 14px;" bgcolor="white"> <div style="font-family: arial; font-size: 14px;"><br /> Hi <% if ("${requestor.username}" == "${user.username}") print "${requestor.firstname} " else print "${requestor.firstname} and ${user.firstname}" %>,<br /><br /> One of your access in ${endpoint} has been revoked.It could be: <br> <br> 1) Birthright Rule failed due to information form Workday changed recently <br><br> 2)Remove Access Reuqest <br><br/> <br /> The Revoked access is/are ${entitlement_values?.collect{''+it.displayname}.join(', ')} <br />. Do not reply to this email as this mailbox is not monitored.<br /><br /><br /><br /> Regards<br /><br /> Identity & Access Management team <div><br /> </div> </div> </td> </tr> <tr> <td style="height: 25px;" bgcolor="#eeeeee"> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </div>

 

ejeong_1-1660610485595.png

 

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Try using below to check variables exposed in email template

 

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

ejeong
Valued Contributor
Valued Contributor

Thanks. I am trying that in dev envrionment but for some reasons, it's not working as expected. 

if you don't mind, could you please share list of binding variables avaiable when email template is applied in endpoint level? 

Thanks

rushikeshvartak_0-1660617578549.png

 


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