-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.1.X, 7.2.X, Master
-
Fix Version/s: 7.1.10 DXP FP18, 7.1.10.5 SP5, 7.1.X, 7.2.10 DXP FP6, 7.2.X, 7.3.3 CE GA4, 7.3.10 DXP GA1, Master
-
Component/s: Business Productivity > Kaleo Designer
-
Branch Version/s:7.2.x, 7.1.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Preconditions
- N/A
Steps to Reproduce
- Go to Control Panel > Workflow > Single Approver > Diagram.
- Click the "review" task.
- Edit the "Review notification" within property Notifications.
- Set the template to the following:
<#include "_TEMPLATE_CONTEXT_/${companyId}/${groupId}/20102/FORM-WORKFLOW-MACROS" /> <@formEmailBody> <p>Hello ${formSubmitterUser.firstName},</p> <p>Your <strong>${formTitle}</strong> form has been approved by the Administrator.</p> <p><a href="${formContext.workflowSubmissionUrl}">View the form</a> on our Website.</p> <#if taskComments?has_content> <h4 style="color:#007b84; margin: 0px; padding: 0px;">Feedback:</h4> <div class="offset-content" style="padding: 30px; font-size: 87.5%;"> <p style="margin: 0 0 10px 0; line-height: 22px;">${taskComments}</p> </div> </#if> <p>Regards,<br/>Liferay Admin</p> </@formEmailBody>
Actual Result
<#include "_TEMPLATE_CONTEXT_/${companyId}/${groupId}/20102/FORM-WORKFLOW-MACROS" /> <@formEmailBody><p>Hello ${formSubmitterUser.firstName},</p><p>Your <strong>${formTitle}</strong> form has been approved by the Administrator.</p><p><a href="${formContext.workflowSubmissionUrl}">View the form</a> on our Website.</p> <#if taskComments?has_content><h4 style="color:#007b84; margin: 0px; padding: 0px;">Feedback:</h4><div class="offset-content" style="padding: 30px; font-size: 87.5%;"><p style="margin: 0 0 10px 0; line-height: 22px;">${taskComments}</p></div></#if><p>Regards,<br/>Liferay Admin</p></@formEmailBody>
Expected Result
<#include "_TEMPLATE_CONTEXT_/${companyId}/${groupId}/20102/FORM-WORKFLOW-MACROS" /> <@formEmailBody> <p>Hello ${formSubmitterUser.firstName},</p> <p>Your <strong>${formTitle}</strong> form has been approved by the Administrator.</p> <p><a href="${formContext.workflowSubmissionUrl}">View the form</a> on our Website.</p> <#if taskComments?has_content> <h4 style="color:#007b84; margin: 0px; padding: 0px;">Feedback:</h4> <div class="offset-content" style="padding: 30px; font-size: 87.5%;"> <p style="margin: 0 0 10px 0; line-height: 22px;">${taskComments}</p> </div> </#if> <p>Regards,<br/>Liferay Admin</p> </@formEmailBody>
Reproduced In
master: 0a2e9ef1785a62ce9b68e3f5a9c9acec7707fdb8
- causes
-
LPS-114485 Workflow XML has no format
- Closed