Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/23/2024 01:14 AM
Hello Team,
We have Requirement to sent Approval email sent to all the assigned Approver when any approver approve the Request.
I have tried with ${allApprovers.collect{it.email}} this binding variable in To and cc in Email template. But its not working. its giving an null values.
Can you please suggest any alternative solution for Achieve this requirement.
Thanks
Hemanth
07/23/2024 01:59 AM
@hemanthvn try below one in to or cc
${assignee.email}
07/23/2024 02:29 AM
Saviynt currently supports to send email to individuals instead of sending all in TO & CC. All approvers currently not giving value.
use ${assignee.email} to send email to approver
idea https://ideas.saviynt.com/ideas/EIC-I-5509
07/30/2024 10:37 AM
Hello Rushikesh,
${assignee.email} is working when request is assigned for Approval. But After approved by approver task is created with admin assignee as default so it will not helpful for send an email to all approver in grant block.
07/30/2024 11:00 AM
Can you try below to get list of all the binding variable available:
To fetch binding variables in the email template.
Email Template steps :
1. Keep Advanced HTML CSS flag is checked
2. Keep your email Address in TO
3. In 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" + ">"}}
By putting it in the email body, it will print all variable names with values, and then accordingly, you can use it:
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:14 PM
Currently All Approver variable returns no values . Please raise idea ticket for enhancement,