Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/15/2022 05:42 PM
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
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>
Solved! Go to Solution.
08/15/2022 06:34 PM
Try using below to check variables exposed in email template
${this.binding.variables.each {k,v -> println "$k = $v" + "<" + "br" + ">"}}
08/15/2022 07:09 PM
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
08/15/2022 07:45 PM