03/07/2023 10:06 PM
We want to send email to a user group (ITServiceDesk) upon creation of AD Account.
We added email template in the endpoint task completion. And passed below in the "to" field of email template :
${com.saviynt.ecm.identitywarehouse.domain.Users.findAllByIdInList(com.saviynt.ecm.identitywarehouse.domain.Usergroup_users.findAllByUser_groupkey(com.saviynt.ecm.identitywarehouse.domain.Usergroups.findByUser_groupname("ITServiceDesk")?.id)?.userkey)?.email.join(',')}
But this is not working, gives below error in logs:
java.lang.Exception: Template contains string which are not allowed com.saviynt"
Please help at the earliest, if there are any other configuration to be done to make Saviynt read the code from email template.
03/08/2023 12:46 AM
Is it working in email body?
03/08/2023 03:01 PM
No it does not work even from the email body.
03/12/2023 03:14 PM
Hi team,
Any other way out to fix this?
Regards,
Fullmoon
03/12/2023 09:38 PM