Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/04/2024 12:33 AM
Hi Team,
We have launched an Entitlement Owner campaign for an endpoint which will be available for all the certifiers (Entitlement Owner for each entitlement). We are having issues creating email notifications sent to all the Entitlement Owners/certifiers.
Please help with this.
Solved! Go to Solution.
09/04/2024 12:42 AM
09/04/2024 12:50 AM - edited 09/04/2024 12:51 AM
Are you asking for the Email template? then we haven't finalized yet just testing on Dev.
But could not find any appropriate binding yet.
09/04/2024 12:52 AM
09/04/2024 01:08 AM
It is getting triggered and also I am receiving the email as well but we want the email sent to all Entitlement Owners. So we want to know which binding variable will help us achieve the requirement.
09/04/2024 01:15 AM - edited 09/04/2024 01:16 AM
Hi @biswajitoram Try this, I have tested and used it in our case.
Body:
<head> <style> table { font-family: arial, sans-serif; border-collapse: collapse; width: 100%; } td, th { border: 1px solid #dddddd; text-align: left; padding: 8px; } </style> </head> <div> Hi ${users?.firstname} ${users?.lastname},<br><br></div> <div>you are receiving this email because you have been identified as certifier for the certification: ${certification?.cert_name}.<br><br></div><div>We are excited to announce the commencement of our annual Access Certification Campaign. This important initiative is designed to ensure the ongoing security and integrity of our systems.<br><br></div><div>The campaign will run for a period of **30 days**, starting from ${campaign?.startDate.format('yyyy-MM-dd')}. During this time, you will be required to review and validate your current employee's system access rights. This is a critical process that helps us maintain the highest level of data security and compliance.<br><br></div><div>Here's what you need to do: <br> 1. Log in to the <a href="https://yourorgurl.saviyntcloud.com/ECM/login/auth">Saviynt Portal</a> using your credentials.<br> 2. Review each of the system access rights listed under your profile.<br> 3. Confirm if they are still necessary for your role.<br> 4. Submit your certification. <br><br></div> <div>Please find the certification details below:<br> <table> <td>Campaign Name:</th> <td>${campaign?.campaignName}</th> </tr> <tr> <td>Certification Name:</td> <td>${certification?.cert_name}</td> </tr> <tr> <td>Certification Start Date:</td> <td>${campaign?.startDate.format('yyyy-MM-dd')}</td> </tr> <tr> <td>Certification End Date:</td> <td>${campaign?.endDate.format('yyyy-MM-dd')}</td> </tr></table><br><br></div> <div>We understand that this process may require some of your time, but it is crucial for our collective security and compliance. Your cooperation and prompt attention to this matter are greatly appreciated.<br><br></div> <div>If you have any questions or need assistance during the certification process, please do not hesitate to contact the Identity Access Management team via admin or by submitting a serviceNow ticket and assign it to the IAM team.<br><br></div> <div>Thank you for your understanding and cooperation.<br><br></div> <div>Best Regards,<br>IAM team</div>
Binding Variables:
${users?.email}: Certifier's email
${users?.firstname}: Certifiers's First Name
${users?.lastname}: Certifier's Last Name
${certification?.cert_name}: Certification Name
${campaign?.campaignName}: Campaign Name
${campaign?.startDate.format('yyyy-MM-dd')}: Cert Start Date
${campaign?.endDate.format('yyyy-MM-dd')}: Cert End Date
For more details you can refer this link https://docs.saviyntcloud.com/bundle/EIC-Admin-v24x/page/Content/Chapter06-EIC-Configurations/Creati...
Regards,
Indra
09/05/2024 04:27 AM
I have tried ${users?.email} but still, it's sending emails to the Default certifier, not entitlement owners.
09/05/2024 04:32 AM
Hi @biswajitoram Can you share your template again and launched campaign page once please?
Make sure to hide any sensitive data.
Regards,
Indra
09/05/2024 05:23 AM
09/05/2024 05:47 AM
09/05/2024 06:36 AM
09/05/2024 07:23 AM
@biswajitoram Share output of below code
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 {RVkey,RVvalue -> println "$RVkey ------- $RVvalue" + "" + "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:
09/05/2024 07:27 AM
09/05/2024 07:30 AM
Its always easy in text. in shared variable who are entitlement owner ? Do you see in any variable ?
09/04/2024 03:40 AM
So Binding Variables: ${users?.email} will send emails to all the Entitlement Owner's emailAddress right?
09/04/2024 03:41 AM
09/04/2024 07:39 AM
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 {RVkey,RVvalue -> println "$RVkey ------- $RVvalue" + "" + "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:
09/05/2024 07:53 AM
@rushikeshvartak The correct variable is "certifiers" which is passing Saviynt Username. But we need the certifier's email.
09/05/2024 07:56 AM
${certifiers.email}
09/05/2024 08:12 AM
Hi @biswajitoram Can you try ${users.email} instead of ${users?.email} and see one last time?
Regards,
Indra
09/05/2024 08:14 AM
Primary: ${users?.email} / ${users.email}
Secondary: ${secondarycertifier}
Well, it turns out that the Campaign Preview supports a completely different set of attributes in the email templates than active campaigns.
When you create the campaign, the above binding variable works fine, but not when you run it in a Preview state.
09/05/2024 08:44 AM
Thanks so much for your support @indra_hema_95 @rushikeshvartak @stalluri
I have achieved the requirement with the below details.
10/03/2024 09:45 PM
Hi
Biswajit
for the similar use case, to send emails to the Ent Owners (Primary certifier) used the binding variable
as -${users?.email} also tried ${users.email} (With out ? )
and for secondary certifier used this binding variable-${secondarycertifier}, however i wasn't even getting any emails. (for this use case i am using Saviynt DEV instance)
can you share how you could achieve the requirement with using the variables that i quoted.
Thanks
regards
sharat