Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Single email to requestor where there are multiple approvers

haardik_verma
Regular Contributor
Regular Contributor

Our requirement is to send an email notification to the requestor with the information of the approvers of the current workflow block.

So if the request has went for manager's approval, the email to the requestor should have name of the manager as the next approver. Similar in case of entitlement owner approver.

The problem is in case of there being multiple approvers, the requestor is receiving multiple emails. One email per approver. Same body, same subject, just the name of the approver is different.

We have cases where there are 5 owners in an entitlement and the requestor gets 5 different emails.

Our email template:

******************************************************************************************

Your request has been progressed to the next level of approval. The Primary Approver has approved the request for entitlements (roles) listed below

${entitlementshtmltablerows}
 

Endpoint Entitlement Description Glossary

It's pending approval from ${assignee.displayname}

******************************************************************************************

 

The Workflow block 

haardik_verma_0-1681705347638.png

 


Thanks & Regards,
Haardik Verma
3 REPLIES 3

nimitdave
Saviynt Employee
Saviynt Employee

The approvals flows for each request item. So if you have requested for 2 groups whose has 2 owners each there will be 2 different request item records be created in backend and 4 different approval item created 1 for each group t- owner combo. Since each request and approval item is individual wit respect to whole request so its not possible to get the all approvers in single group approval flow. But further you can use below to see al variables in the email template as see if any variable helps:

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

 

Hi @nimitdave , Thanks for the quick reply.

In our test cases, there was only 1 group being requested, and in workflow it is set to 'Any Owner approval' . Is there no way to get comma separated values of all the approvers of that group in that workflow block?

I tried the ${this.binding.variables.each {k,v -> println "$k = $v" + "<" + "br" + ">"}} and got all the supported variables but still got 5 different emails as the requestor with different assignee's name in each email.


Thanks & Regards,
Haardik Verma

Saviynt does not support sending all owners name in to,cc in one email email is sent per approver. 

Please raise idea ticket for enhancement 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.