[jboss-user] [JBoss jBPM] - jBPM4 - Task Escalation with Timer
djcye
do-not-reply at jboss.com
Thu Aug 20 06:31:44 EDT 2009
Hi,
i try to figure out how to implement a time related reassignment of a task.
had someone already success in implementing this ?
currently working on:
first idea: use the assignmenthandler.. but i cant put it in the context of a timer..
second idea: use a second (java) node to reassing the first
| <task>
| <transition to="escalate java node">
| <timer duedate="10 seconds" />
| </transition>
| </task>
third idea: reassignment in the same task node
| <task>
| <on event="timeout">
| <timer diedate="5 seconds" />
| <eventlistener ...>
| </on event>
| </task>
in the second and third idea i have to access the task for reassignment without reassignment handler and i have to find the taskid somehow (use taskquery with processinstanceid and name ?).
is there an easier way ?
thx!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250576#4250576
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250576
More information about the jboss-user
mailing list