Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

How to Customize Default Task Notification Email Templates?

Avatar

Level 1

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Level 8

@cdressler 

 

It looks like there is a earlier question about this and suggestion is to reach out to Adobe support from @arunpatidar 

 

Here is the reference for the article:

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/customize-email-template-f...

 

There is an older article where OP said they are able to get this working.  So, you can check that article here:

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/customizing-email-template...

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-assets/email-notification-...