#if attributesProvider.processInstance??> <#assign processComments = attributesProvider.processInstance.getCommentsOrderedByDate(false) /> <#assign internalId = task.internalTaskId /> #if> <#if !processComments??> <#assign commentsAttribute = attributesProvider.getAttribute('comments')!"" /> <#if commentsAttribute?has_content> <#assign processComments = commentsAttribute.getCommentsOrderedByDate(true)! /> <#else> <#assign processComments = [] /> #if> <#assign internalId = attributesProvider.id /> #if>
${processComment.authorFullName} (${processComment.authorLogin}) [${processComment.getFormattedDate("dd-MM-yy HH:mm")}] <#if substituteUser != ""> ${messageSource.getMessage("process.history.subsituted.by")} ${processComment.substituteFullName} (${processComment.substituteLogin}) #if>
<#assign processCommentType = processComment.commentType!""/>
<#if processCommentType != "">
${processCommentType}
#if>
${processComment.body}