Hi ,
Getting default workflow email template mails by enabling email notification checkbox in participant step .
how to change participant step to pick up custom email template rather than default workflow email template.
default : /etc/workflow/notification/email/default/en.txt
custom : /etc/workflow/notification/email/demoportal/en.txt
Thanks,
Ravi.
Solved! Go to Solution.
Views
Replies
Total Likes
"No, i don't want to write custom workflow step for using custom email template.My use case is that AEM participant step should pick up custom email template rather than default workflow email template."
To use a custom email template in a workflow - you need to write Java logic and a MAP that is used to populate the variables in the custom template. There is no other way to reference a custom template and then to populate the variables in the template without using Java logic.
Views
Replies
Total Likes
To do this - write a custom workflow step that retrieves a custom email template. To learn how to write a custom email step - see:
https://helpx.adobe.com/experience-manager/using/creating-custom-aem-workflow-steps.html
To learn how to use the Java API to retrieve a custom email template - see:
https://helpx.adobe.com/experience-manager/using/htl_email_template.html
this is the way you can get a workflow to send an email based on a custom template.
Views
Replies
Total Likes
No, i don't want to write custom workflow step for using custom email template.My use case is that AEM participant step should pick up custom email template rather than default workflow email template.
default : /etc/workflow/notification/email/default/en.txt
custom : /etc/workflow/notification/email/demoportal/en.txt
Thanks in Advance.
Views
Replies
Total Likes
"No, i don't want to write custom workflow step for using custom email template.My use case is that AEM participant step should pick up custom email template rather than default workflow email template."
To use a custom email template in a workflow - you need to write Java logic and a MAP that is used to populate the variables in the custom template. There is no other way to reference a custom template and then to populate the variables in the template without using Java logic.
Views
Replies
Total Likes
This question has been asked many times - see:
Views
Replies
Total Likes
Thanks
Views
Replies
Total Likes
I have written custom workflow step that retrieves a custom email template and it works fine. But now i want my "Workflow notification: WorkflowCompleted" message to be also picked up from a customized path.
customized path :- /etc/workflow/notification/email/demoportal/en.txt
currently getting picked from (default) :- /etc/workflow/notification/email/default/en.txt
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies