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

Campaign Email Template Addresses in 'TO' Field

Saviynt_Savvy
Regular Contributor II
Regular Contributor II

Hello All,

Can someone confirm the Dynamic Attributes in the "TO" field for the below CAMPAIGN EMAIL Templates are correct to trigger the Emails ?

I haven't received any emails after launching the Campaign. I have configured the Emails in the Basic Campaign Notifications.

TemplateDescription${Email address}
Campaign Launch NotificationNotification to Certifier, that a Certification is launched for him for access review.${users.email}
Campaign 3 Days Left Reminder NotificationReminder notification to Certifier, that a Certification is launched for him for access review.${users.email}
Campaign Consult NotificationNotification to Consultee, regarding the Certificate Consulted for him${users?.email}
Campaign Reassign NotificationNotification to Reassignee, regarding the Certificate reassigned for him${users?.email}
Campaign Consult Complete NotificationNotification to Original Certifer (on the completion of Consultee review)${originalCertifier?.email}
Campaign Complete NotificationNotification to Certifier, informing the certification is locked and submitted.${users.email}

Thanks & Regards,
Saviynt Savvy

13 REPLIES 13

dgandhi
All-Star
All-Star

This should work

${users.email}

Hope you are running the campaign reminder job to trigger email notifications.

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

dgandhi
All-Star
All-Star

below document for all the templates.

https://docs.saviyntcloud.com/bundle/EIC-Admin-v2022x/page/Content/Chapter06-EIC-Configurations/Crea...

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

rushikeshvartak
All-Star
All-Star
TemplateDescription${Email address}
Campaign Launch NotificationNotification to Certifier, that a Certification is launched for him for access review.${users?.email}
Campaign 3 Days Left Reminder NotificationReminder notification to Certifier, that a Certification is launched for him for access review.${users?.email}
Campaign Consult NotificationNotification to Consultee, regarding the Certificate Consulted for him

${users?.email}

${originalCertifier?.email}

Campaign Reassign NotificationNotification to Reassignee, regarding the Certificate reassigned for him

${users?.email}

${originalCertifier?.email}

Campaign Consult Complete NotificationNotification to Original Certifer (on the completion of Consultee review)

${users?.email}

${originalCertifier?.email}

Campaign Complete NotificationNotification to Certifier, informing the certification is locked and submitted.${users.email}

 

Refer above variables 

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

Hello @rushikeshvartak ,

Thank you for the reply.
For the 'Campaign Consult Complete Notification' ,the Original Certifier should know once the Consultee has reviewed the Certificate, but  ${originalCertifier?.email} is not working.

For the 'Campaign Launch Notification', the certifiers should know that a Certification is launched for them to review, but ${users?.email} is not working.

Could you please explain why few templates in the reply were mentioned with 2 dynamic variables in the "To" field.
What the BOLD email addresses and color highlighted email addresses refers to?

Thanks & Regards,
SaviyntSavvy

You can validate respective variable with code shared


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

Hello @rushikeshvartak ,

The variable  ${originalCertifier?.email} is working fine, if I use the plain text in the mail body and able to receive the mail.

Below is the Email Template body I'm using for the Campaign Notification mail.
And I have used the same attributes and html tags in the other template which is working correct and able to receive the mail.

EMAIL TEMPLATE BODY:
<span><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>the items you had consulted to have been reviewed for the 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>Thank you once again for your dedication and cooperation. Your prompt action is vital for the successful completion of our Access Certification Campaign.<br><br></div> <div>Best Regards,<br>Your friendly IAM team</div></span>

Please let me know why the same tags are not working in other template and suggest any other tags or template  I could use.

Thanks & Regards,
SaviyntSavvy

Recreate template and validate


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

Hello @rushikeshvartak 

Still facing the same issue. Able to receive the mail only in case of static message.
Could you please provide any HTML template to use for the table format.

Thanks & Regards,
SaviyntSavvy

Provide your configuration screenshot


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

Hello @rushikeshvartak ,

The Basic Campaign Notification Email configuration is mentioned in the below screenshot:

Saviynt_Savvy_0-1723032506559.png

Thanks & Regards,
SaviyntSavvy

Email template screenshot 


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

Hello @rushikeshvartak 
Please find the template in the screenshot and also providing the email body below.

Saviynt_Savvy_0-1723192167971.png

Email Template 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>the items you had consulted to have been reviewed for the 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>Thank you once again for your dedication and cooperation. Your prompt action is vital for the successful completion of our Access Certification Campaign.<br><br></div> <div>Best Regards,<br>Your friendly IAM team</div>



Note:
I have used the plain text in email body, I'm able to receive the mail.
I have used this email template Email body in the other email template, able to receive the mail.
I have used other email template body in this template, not able to receive any mail.

Explanation:
Let say I'm using 4 Email templates for

  1. Launch Certification: Email for Certifier.
  2. Consult Certification: Email for Consultee.
  3. Consult Complete Certification: Email for Original Certifier about completed Certification.
  4. Complete Certification: Email for Certifier about Certification Completion on Locking.

I'm able to receive 3 notifications except the Consult Complete Certification.

Observation 1:

I have used plain text in the Campaign Complete Notification template body.
Result 1:
Able to receive the mail.

Observation 2:
I have used the Launch Certification template body in the Consult Complete Certification template body. 
Result 2: 
Able to receive the mail.

Observation 3:
I have used the Consult Complete Certification template body in the Launch Certification template body.
Result 3:
Able to receive the mail.

Observation 4:
I have used same body in the Campaign Complete Notification.
Result 4:

Not able to receive any mail.

Thanks & Regards,
SaviyntSavvy

Try the below configuration

rushikeshvartak_0-1723235516427.png

 


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