Click HERE to see how Saviynt Intelligence is transforming the industry. |
02/07/2024 10:09 AM
I am trying to have the email template use the Endpoint Display Name in the subject and body of the email that goes out to the approvers rather than the endpoint name.
The email template currently uses ${endpoint} - this works and it pulls the endpoint name. However, when I try ${endpointDisplayName} or ${endpoint.DisplayName} the email does not go out at all for approval.
I went through Creating and Managing Email Templates (saviyntcloud.com) but could not find any other tag relating to the field I'd like displayed in the Approval email.
Please advise.
02/07/2024 11:12 AM
To get what variables are present to use in the email template, check 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:
${this.binding.variables.each {k,v -> println "$k = $v" + "" + "br" + ">"}}
02/07/2024 12:39 PM
Thank you @rushikeshvartak this was very helpful. However, the binding variable that comes up is one I've already tried below. I updated the subject and body to use ${endpointDisplayName} as per screenshot below but the template is still using the endpoint name rather than the endpoint display name that is in the endpoint set up.
list of variables:
email template set up:
Endpoint set up:
Email that went out:
Please let me know what else I can try.
02/07/2024 12:45 PM
Use above code in email body and share responses based on it i will suggest variable. As i am not sure where is email template attached
02/07/2024 01:23 PM
nothing pops up when I copy and paste this into the email body.
When I click on help and search by endpoint, I get the list below:
Regards,
Sara Saeed
02/07/2024 02:19 PM
Where did you attached this template ?
once email body is updated trigger email template
02/07/2024 08:55 PM
@sarasaeed validate it via adding it WF and raise the request.
You shud be able to view the attributes exposed as part of variables shared by rushi.