Using custom java code in the Saviynt Email Templates
Sometimes in complex requirements, we may not able to use groovy scripts to meet the requirements in that situation we can use custom java code in the Saviynt email templates Another use case is that the subject field in Saivynt supports only 255 characters, if you have complex if-else logic which makes more than 255 characters then you can use custom java code to generate the subject line, however, make sure the custom java code returns less than 255 characters as the subject line to avoid unnecessary references issue(in audit tables?). Requirement : Generate a subject line based on the below conditions If the user's employee type is Internal then New Personal AD Account is created for you, Account Name: [ Account display name ] otherwise New Personal AD Account is created for a user starting on [User start date in dd-MM-YYYY format], Account Name: [ Account display name ] Step 1: Create a java package and create a JAR The source code is available in the below link https://...