12-07-2022 08:34 AM
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}}
12-07-2022 09:50 AM
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} ?
12-07-2022 09:56 AM
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.
12-07-2022 12:58 PM
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}