Click HERE to see how Saviynt Intelligence is transforming the industry. |
01/12/2023 09:51 PM - edited 01/12/2023 10:00 PM
Hi,
The Notify Certifier email isn't working and we get the following error:
No such property: attestations for class.
Although if we see freshdesk, we have exactly used the same binding variables as mentioned in the doc below:
Link for reference : https://saviynt.freshdesk.com/support/solutions/articles/43000622153-managing-email-templates#Managi...
Below is our email template:
Solved! Go to Solution.
01/12/2023 10:32 PM
Use below script to find correct variables
${this.binding.variables.each {k,v -> println "$k = $v" + "<" + "br" + ">"}}
01/13/2023 06:40 AM
Where did you attach this email template on certification configuration?
If you attached at first highlighted section then use below parameters
${users?.email} -- For certifier email
${campaign?.campaignName} -- For campaign name
${certification?.cert_name} -- For certification line item name under campaign
${campaign?.startDate} -- For Campaign Start Date
${campaign?.endDate} -- For Campaign End Date
If you attached at second highlighted section then whatever you used should work
01/18/2023 12:58 AM
Hi,
Used the second highlighted section that is Notify Certifier email template and we get the error as no class for attestation
01/18/2023 04:15 AM
${campaign?.campaignName}
01/18/2023 07:08 AM
Okay then try same one as below and see if those works
${users?.email} -- For certifier email
${campaign?.campaignName} -- For campaign name
${certification?.cert_name} -- For certification line item name under campaign
${campaign?.startDate} -- For Campaign Start Date
${campaign?.endDate} -- For Campaign End Date
01/19/2023 01:48 AM
This worked. Thanks.
Also, we have the same binding variables as mentioned in Freshdesk for Consult email. That does not work. Any input?
Attached the email template screenshot.
Error:
01/19/2023 04:25 AM
Do you email setup for user?
01/19/2023 05:21 AM
Hi Rushikesh,
Yes user has an email set.
${users?.email} is working fine for other email templates, but failing in consult
01/19/2023 05:45 AM
${assignee.email} |
01/19/2023 05:59 AM
${users?.email} is the right parameter to capture the email of the user to whom you want to send consult email.
As per logs I see exception in sending email to null email. So I assume user you have consulted might not have email field populated. If parameter you have used is not supported or have issues then it will give an exception in this is case as per logs I don't see any exception.
So please validate the user profile and make sure that he has email