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

Configuring Certifier and Campaign Creation Email

AashishD
Regular Contributor II
Regular Contributor II

Hi,

The Notify Certifier email isn't working and we get the following error:

AshishDas_0-1673589472528.png

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:

AshishDas_0-1673589632397.png

 

10 REPLIES 10

rushikeshvartak
All-Star
All-Star

Use below script to find correct variables 

${this.binding.variables.each {k,v -> println "$k = $v" + "<" + "br" + ">"}}


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

Saathvik
All-Star
All-Star

Where did you attach this email template on certification configuration?

sk_0-1673620378408.png

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

 


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

AashishD
Regular Contributor II
Regular Contributor II

Hi,

Used the second highlighted section that is Notify Certifier email template and we get the error as no class for attestation

${campaign?.campaignName}


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

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


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

AashishD
Regular Contributor II
Regular Contributor II

This worked. Thanks.

Also, we have the same binding variables as mentioned in Freshdesk for Consult email. That does not work. Any input?

AshishDas_0-1674121597642.png

Attached the email template screenshot.

Error:

AshishDas_1-1674121716589.png

 

Do you email setup for user?


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

AashishD
Regular Contributor II
Regular Contributor II

Hi Rushikesh,

Yes user has an email set.

${users?.email} is working fine for other email templates, but failing in consult

${assignee.email}

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

${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


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.