Email notification to user group member

sandeepverma
Regular Contributor
Regular Contributor

Hi Team,

We have created a user group named 'Second Level Approval', there we have added some user list. We have created an email template to send the notification to this user group member and we have added this email to the approval workflow.

From reading, I found this link https://forums.saviynt.com/t5/identity-governance/sending-email-to-user-group/m-p/26751,but it didn't work.

${com.saviynt.ecm.identitywarehouse.domain.Users.findAllByIdInList(com.saviynt.ecm.identitywarehouse.domain.Usergroup_users.findAllByUser_groupkey(com.saviynt.ecm.identitywarehouse.domain.Usergroups.findByUser_groupname("Second Level Approval")?.id)?.userkey).email?.join(',')}

 

Email template screenshot:

sandeepverma_0-1692940640288.png

Error:

sandeepverma_1-1692940704603.png

Could you please help us here or any other way that we can use to achieve the same?

Thank you

 

1 REPLY 1

sandeepverma
Regular Contributor
Regular Contributor

I found the solution.

${assignee.email}

it worked for me.