Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/30/2024 10:18 AM - edited 07/30/2024 10:33 AM
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.
Template | Description | ${Email address} |
Campaign Launch Notification | Notification to Certifier, that a Certification is launched for him for access review. | ${users.email} |
Campaign 3 Days Left Reminder Notification | Reminder notification to Certifier, that a Certification is launched for him for access review. | ${users.email} |
Campaign Consult Notification | Notification to Consultee, regarding the Certificate Consulted for him | ${users?.email} |
Campaign Reassign Notification | Notification to Reassignee, regarding the Certificate reassigned for him | ${users?.email} |
Campaign Consult Complete Notification | Notification to Original Certifer (on the completion of Consultee review) | ${originalCertifier?.email} |
Campaign Complete Notification | Notification to Certifier, informing the certification is locked and submitted. | ${users.email} |
Thanks & Regards,
Saviynt Savvy
07/30/2024 11:06 AM
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.
07/30/2024 11:06 AM
below document for all the templates.
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.
07/30/2024 08:22 PM
Template | Description | ${Email address} |
Campaign Launch Notification | Notification to Certifier, that a Certification is launched for him for access review. | ${users?.email} |
Campaign 3 Days Left Reminder Notification | Reminder notification to Certifier, that a Certification is launched for him for access review. | ${users?.email} |
Campaign Consult Notification | Notification to Consultee, regarding the Certificate Consulted for him | ${users?.email} ${originalCertifier?.email} |
Campaign Reassign Notification | Notification to Reassignee, regarding the Certificate reassigned for him | ${users?.email} ${originalCertifier?.email} |
Campaign Consult Complete Notification | Notification to Original Certifer (on the completion of Consultee review) | ${users?.email} ${originalCertifier?.email} |
Campaign Complete Notification | Notification 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:
07/31/2024 01:29 AM - edited 07/31/2024 01:32 AM
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
07/31/2024 06:39 AM
You can validate respective variable with code shared
08/06/2024 06:38 AM
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
08/06/2024 10:22 AM
Recreate template and validate
08/07/2024 04:29 AM
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
08/07/2024 04:52 AM
Provide your configuration screenshot
08/07/2024 05:09 AM
Hello @rushikeshvartak ,
The Basic Campaign Notification Email configuration is mentioned in the below screenshot:
Thanks & Regards,
SaviyntSavvy
08/07/2024 05:12 AM
Email template screenshot
08/08/2024 11:04 PM - edited 08/09/2024 01:38 AM
Hello @rushikeshvartak
Please find the template in the screenshot and also providing the email body below.
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
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
08/09/2024 01:32 PM
Try the below configuration