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

Approval email should sent to all the Approver when any approver approver the Request

hemanthvn
New Contributor
New Contributor

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

5 REPLIES 5

Raghu
All-Star
All-Star

@hemanthvn  try below one in to or cc

${assignee.email}


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

rushikeshvartak
All-Star
All-Star

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


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

hemanthvn
New Contributor
New Contributor

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.

 

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.

Currently All Approver variable returns no values . Please raise idea ticket for enhancement, 


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