06-23-2020 02:25 AM
I'm using Alfresco 5.2 Community. I'm trying to edit the wf-email.html.ftl file found in Repository> Data Dictionary> Email Templates> Workflow Notification> wf-email.html.ftl. In the line
<p>Hi,</p>
I want to add the recipient's name in the message, something like
<p>Hi John,</p>
Is this possible? If yes, how is it achieved?
06-23-2020 07:48 PM
bump
06-24-2020 02:55 PM
May be a hint, If you look at the template args here: https://github.com/Alfresco/alfresco-repository/blob/master/src/main/java/org/alfresco/repo/workflow...
You will see that username/email or any such info is not passed to the email template "wf-email.html.ftl":
You may have to extend: WorkflowNotificationUtils class to pass the argument and update the wf-email.html.ftl template to consume the argument.
Assigned authorities are availabel in this "assignedAuthorites" variable which comes as input to sendWorkflowAssignedNotificationEMail method.
There may be other ways too, so see if someone else can also provide any directions.
04-11-2023 10:50 PM
@abhinavmishra14 How Can I extend WorkflowNotificationUtils.java ?
06-29-2020 02:29 PM
Explore our Alfresco products with the links below. Use labels to filter content by product module.