[jboss-user] [JBoss jBPM] - Re: [jBPM 4] Mai templates context variables

TejJBPM do-not-reply at jboss.com
Fri Jul 24 10:26:40 EDT 2009


There are few problems:

1. Firstly the template named "task-assign" will be called you set notify="yes" in your task node. Only this template has access to #{taskInstance.name} not your custom template.
2. If you want to use a custom template then you got to set the event as "task-assign" inside your 
For example:
  | <event type="task-assign"> <mail name="mailtest" to="fdds at jfgj.com">
  |   <subject>Hello, there</subject>
  |   <text>Task instance name #{taskInstance.name}  </text>
  | </mail>
  | </event>

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

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



More information about the jboss-user mailing list