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