[jboss-user] [JBoss jBPM] - Re: [jBPM 4] Mai templates context variables
kukeltje
do-not-reply at jboss.com
Tue Jul 28 08:22:44 EDT 2009
I've been mislead also. https://jira.jboss.org/jira/browse/JBPM-2254
Thought that notification and reminder accepted a template attribute, but looking at the xsd, they don't.
BUT... according to the source it should work. So try something like I mentioned before:
| <task duedate="10 seconds" g="36,108,97,52" name="Visa Conseiller">
| <assignment-handler class="be.axi.bpm.handlers.TaskAssignmentHandler"/>
| <notification template="MyTaskNotification"/>
| <reminder duedate="15 seconds"/>
| <transition g="-76,-12" name="to Inspection" to="Inspection"/>
| </task>
|
| <mail-template name="MyTask-notification">
| <to addresses="xxxx at xxxi.be" />
| <subject>Assignment notification (E)</subject>
| <text>Task assigned</text>
| </mail-template>
|
|
And if embedding the template in the pd does not work, try putting the template in the config file.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246413#4246413
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246413
More information about the jboss-user
mailing list