06/06/2023 09:01 AM
Hi,
need to open a new post as all other referenced ones are already closed, without a working solution.
https://forums.saviynt.com/t5/identity-governance/email-to-user-group/m-p/20413#M9773
https://forums.saviynt.com/t5/general-discussions/using-user-groups-in-email-templates/m-p/2820/thre...
https://forums.saviynt.com/t5/general-discussions/using-user-groups-in-email-templates/m-p/2820#M958
The problem is still the same:
in "to" the following value is defined:
${com.saviynt.ecm.identitywarehouse.domain.Users.findAllByIdInList(com.saviynt.ecm.identitywarehouse.domain.Usergroup_users.findAllByUser_groupkey(com.saviynt.ecm.identitywarehouse.domain.Usergroups.findByUser_groupname("IT Team")?.id)?.userkey)?.email.join(',')}
Logs show the following:
java.lang.Exception: Template contains string which are not allowed com.saviynt"
I tried the proposed method and added the binding in the the body, with the following result:
Doest this mean, that this is no longer supported and we are not able to address all users within a user group?
Thanks
06/09/2023 07:45 AM
Can you confirm what is your application version. The class files are not exposed in the latest versions so that its not working.
Can you provide the business requirement so that we can figure out an alternate solution.
06/13/2023 12:03 AM
Hi,
23.5 is the current version.
We have different user groups that have a dedicated task within saviynt. Therefore we want to keep the management of those groups within Saviynt. If one of the tasks is done, the group should be informed about the fulfillment.
A shared mailbox for this group is no option as we split up again the management of the group and group members.
Adding the users addresses to the template is also no option, as the members can always change.