Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/11/2024 04:06 AM
We have configured email notification in Globalsetting>Requests>Reviewer Change Notification
to notify to the requestor
Email triggered to requestor but email body does not populate the binding variables values.
What might be the issue i dont understand.. Is this something binding variables issue.
06/11/2024 04:42 AM
Hi @hareeshreddyk ,
Issue might be in date conversion. Can you try the email without last two variables where you are doing date conversion.
06/11/2024 05:02 AM
Try below for date
${request.duedate.toString().substring(0,10)}
06/11/2024 05:39 AM - edited 06/11/2024 05:39 AM
Thanks @pmahalle ,
I tried as suggested by removing last two variables but still values are not getting populated.
06/11/2024 06:23 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 {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:
06/11/2024 10:49 PM
Hi @rushikeshvartak ,
T tried below in email body
${this.binding.variables.each {k,v -> println "$k = $v" + "" + "br" + ">"}}
It resulted only few variables
And tried with those limited variables Even these values are not populated
06/11/2024 11:01 PM
Hi @hareeshreddyk .
Can you please check if the values that are not populated are present in requesterid (for the particular user).
if the values are not present please trigger the email for proper user who has all values.
if the values are present and still not populating please share the logs if possible.
06/12/2024 11:04 PM
hi @ganimkt ,
Yes there are the values to whom this email is triggered. But email only not populating those values.
I am sharig the logs please share me if you find any which is causing the issue.
06/12/2024 11:08 PM
Does HTML flag ticketed in email template?
Share email template config screenshot
06/13/2024 12:20 AM
Yes @rushikeshvartak HTML flag has been ticked in email template
please look at the shared screenshot
06/13/2024 10:09 PM
There is not variable called approvallink
06/14/2024 12:24 AM
I have amanded the approval link and tried
approvallink is to redirect to the request approval page but issue is not that, there is no value that is getting populated in the body
06/15/2024 10:32 PM
As mentioned there is no approvalink variable. can you share what is code behind approvalink ? mask sensitive info
06/16/2024 11:00 PM
This is the VARIABLE for approval link
<a href="https://**********-***.saviyntcloud.com/ECM${approvallink.toString().replaceAll('null','')}">Saviynt.</a>
As i mentioned i tried with out this approval variable...But even then these values are not populated