Я создал рабочий процесс согласования контента в liferay 6.2. Я хочу показать имя пользователя и другие значения переменных, которые используются в теге шаблона в теме письма.Как получить доступ к значению Liferay Variable в контексте Workflow
Я добавил описание тега, чтобы показать тему электронной почты, но когда я пытаюсь использовать переменную в этом, она показывает переменную как строку вместо ее значения.
Ниже мой шаблон
<actions>
<notification>
<name>Review Notification</name>
<description><![CDATA[${userName}]]> test sent you a <![CDATA[${entryType}]]> for review in the workflow.</description>
<template>${userName} sent you a ${entryType} for review in the workflow.</template>
<template-language>freemarker</template-language>
<notification-type>email</notification-type>
<notification-type>user-notification</notification-type>
<execution-type>onAssignment</execution-type>
</notification>
<notification>
<name>Review Completion Notification</name>
<description>Your submission has been reviewed and the reviewer has applied the following ${taskComments}.</description>
<template>Your submission has been reviewed and the reviewer has applied the following ${taskComments}.</template>
<template-language>freemarker</template-language>
<notification-type>email</notification-type>
<recipients>
<user/>
</recipients>
<execution-type>onExit</execution-type>
</notification>
</actions>
В описании тега я использовал переменные $ {имя пользователя} и $ {EntryType}, но вместо того, чтобы показать
«Тест послал вам веб-контент Статью для рассмотрения в рабочий процесс «.
он показывает: "$ {имя_пользователя} отправил вам $ {entryType} для просмотра в рабочем процессе."
Но в теле письма он отображается хорошо. Любая справка