Sorry for not mentioning it in my previous post but I also tried the following
<task duedate="10 seconds" g="36,108,97,52" name="Visa Conseiller">
| <assignment-handler class="be.axi.bpm.handlers.TaskAssignmentHandler"/>
| <on event="task-notification"><mail template="mail-task-assign"/></on>
| <reminder duedate="15 seconds"/>
| <transition g="-76,-12" name="to Inspection" to="Inspection"/>
| </task>
|
| <mail-template name="mail-task-assign">
| <to addresses="xxx(a)xxx.be" />
| <subject>Assignment notification (E-C)</subject>
| <text>Task assigned</text>
| </mail-template>
|
|
But this code does nothing at all... It's maybe like kukeltje said:
anonymous wrote : I'm not 100% sure a mail element can be nested in a 'on' element in 4.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246353#4246353
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246353
looks the problems seems to be that the JbpmThreadService get started without having a JbpmContext.
| JbpmThreadService .java
| public void start()
| {
| JbpmConfiguration jbpmConfiguration = workflowService.getJbpmConfiguration();
| jbpmConfiguration.getJobExecutor().start();
| }
|
|
I am not entirely sure why, but once i programmatically call createJbpmContext the JbpmThreadService seems to function without error from then.
| context = workflowService.getJbpmConfiguration().createJbpmContext();
|
Q1. is expected behaviour with JbpmContext?
Q2. should client/portlet code be using the workflowservice?
-lp
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246340#4246340
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246340
Now we're back where we started :-) .... those silly loops....
My initial try was this
<task duedate="10 seconds" g="36,108,97,52" name="Visa Conseiller">
| <assignment-handler class="be.axi.bpm.handlers.TaskAssignmentHandler"/>
| <notification/>
| <reminder duedate="15 seconds"/>
| <transition g="-76,-12" name="to Inspection" to="Inspection"/>
| </task>
|
| <mail-template name="task-notification">
| <to addresses="xxxx(a)xxxi.be" />
| <subject>Assignment notification (E)</subject>
| <text>Task assigned</text>
| </mail-template>
And this works fine except for the context variables, so my question rests the same....
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246337#4246337
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246337