How to Customize Default Task Notification Email Templates? | Community
Skip to main content
Level 2
May 23, 2024
Question

How to Customize Default Task Notification Email Templates?

  • May 23, 2024
  • 1 reply
  • 523 views

I am trying to customize the content of the task notification email templates. AEM has three different templates for task creation, completion and saving. I'm working on the cloud version of AEM. Each of these templates is located in this location within /libs:

 

/libs/settings/workflow/notification/email/tasks/completed

/libs/settings/workflow/notification/email/tasks/created

/libs/settings/workflow/notification/email/tasks/saved

 

I've tried to create an overlay to /apps with these same paths, however AEM still uses the templates located in /libs. I also found an article that mentioned creating an OSGI configuration to point to the updated template locations:

 

OSGI: com.adobe.granite.workflow.core.email.TaskEMailNotificationService.cfg.json

{ "EmailTemplatePath": "/apps/settings/workflow/notification/email/tasks/completed/en.txt", "TaskCreatedTemplatePath": "/apps/settings/workflow/notification/email/tasks/created/en.txt", "TaskCompletedTemplatePath": "/apps/settings/workflow/notification/email/tasks/completed/en.txt" }

 

However this doesn't work either. Has anyone dealt with this before or had any success customizing the default templates. I'm not looking to create email sending code from the workflow process itself.

 

Thanks,

Chris

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

gkalyan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
May 23, 2024