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

Is there a way to include all the entitlement owners in the approval workflow email template?

avinashR
New Contributor III
New Contributor III

Hi Team.

We need to include all the entitlement owners in the workflow email template.

FYI, I have tried to the below expression but it is returning empty.

Approvers names - ${allApprovers.collect{it.username}}

3 REPLIES 3

Enakshi
Saviynt Employee
Saviynt Employee

It will return empty as the request is not approved yet. 

Hope the request is going to all the entitlement owners. So, could you try ${assignee.username} ?

avinashR
New Contributor III
New Contributor III

but ${assignee.username}  this will only return sinlgle owner username.

For instance if  a entitlement has 3 owners then I need all the 3 usernames in same email.

This is missing functionality of product hence it wont be possible

Try below

${Users.get(${accessItems.find{it.ae.size()}.collect{it.ae.find{(it.approveby.toString())}}.find{it.approveby.toString()}[0]}).email}


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