Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

Sending Email to User Group

routf
New Contributor
New Contributor

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.

 

4 REPLIES 4

rushikeshvartak
All-Star
All-Star

Is it working in email body?


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

No it does not work even from the email body.

routf
New Contributor
New Contributor

Hi team,

Any other way out to fix this?

Regards,

Fullmoon