[jboss-user] [JBoss jBPM] - Email subject is empty always

Sujatha do-not-reply at jboss.com
Wed May 13 10:47:02 EDT 2009


Hi All

My task nodes are sending reminders fine but even though i specify a subject in the template it is always empty. Did anybody face this problem?

Here is the code for template.. and the task node
<task-node name="line manager review">
  | <task name="line manager review" blocking="true">
  | <description> desc</description>
  | <assignment actor-id="#{ifp_line_manager_actor}"></assignment>
  | <controller class="com.myController"></controller>
  | <reminder duedate="2 business minutes" repeat="yes"/>
  | </task>
  | <transition to="notify-review" name="approve"></transition>
  | </task-node>
  | 
  | My reminder template in jbpm.mail.templates.xml is
  | <mail-template name='task-reminder'>
  |     <actors>#{taskInstance.actorId}</actors>
  |     <subject>REMINDER:  #{processInstance.getId} requested by #{firstName} #{lastName} !</subject>
  |     <text><![CDATA[ REMINDER:  task is assigned to you.
  |      ]]></text>
  |   </mail-template>

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230866#4230866

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230866



More information about the jboss-user mailing list