


subject=Workflow notification: for page ${payload.path}
header=-------------------------------------------------------------------------------------\n \
Time : ${event.TimeStamp}\n \
Step: ${item.node.title}\n \
Author: ${initiator.name} (${initiator.id})\n \
Workflow: ${model.title}\n \
Comment from previous user: ${item.data.comment}\n \
-------------------------------------------------------------------------------------\n \
message=Page: ${host.prefix}/editor.html${payload.path}.html\n
Workflow Title: ${item.data.workflowTitle}\n \
Comments: ${item.data.startComment}\n \
footer=\n \
-------------------------------------------------------------------------------------\n \
View the overview in your ${host.prefix}/inbox\n \
-------------------------------------------------------------------------------------\n \
This is an automatically generated message. Please do not reply.
Is there some thing wrong in the txt file for those null ?
Views
Replies
Sign in to like this content
Total Likes
The email template for workflow notification is the following:
subject=Workflow notification: ${event.EventType}
header=-------------------------------------------------------------------------------------\n \
Time: ${event.TimeStamp}\n \
Step: ${item.node.title}\n \
User: ${participant.name} (${participant.id})\n \
Workflow: ${model.title}\n \
-------------------------------------------------------------------------------------\n\n
message=Content: ${host.prefix}${payload.path.open}\n
footer=\n \
-------------------------------------------------------------------------------------\n \
View the overview in your ${host.prefix}/aem/inbox\n \
-------------------------------------------------------------------------------------\n \
This is an automatically generated message. Please do not reply.
It is located in the following path in CRX/DE:
http://localhost:4564/crx/de/index.jsp#/libs/settings/workflow/notification/email/default/en.txt
So I wont say there is anything wrong but the null you see can be related to "footer=\n \" in the template. You can always edit the template to your requirements [1].
I guess you have modified your template already and [1] are resolving to null. Try changing them to [2]
[1]
${item.data.workflowTitle}
${item.data.startComment}
[2]
${model.title}
${item.data.comment}
Hi,
The following variables can be used within the email template:
Create your own custom template for your requirement and use as a process step to send mail