Hello,

i have a task-node with a task-timer and 2 other tasks assigned to 2 swimlanes 
and they wait for the action of the users. I want to keep on the flow when:

* one of then accepts/confirms the action (any of them)
* the timer expires

For that i made a class to timeout (for the timer) which looks for the 
notfinishedTasks in the node and one by one he cancels them. The problem is 
that for the flow to continue when one of the users confirms or cancels the 
operation i added in each of the by human acted tasks the event:       <event 
type="task-end">
  |             <action class="org.jbpm.example.timeout"/>
  |       </event>

and this cancels all the tasks of the node except for his task, that is being 
ended. The problem is that as soon as i close one task (end or cancel, it's the 
same), this event "enters" and it starts killing on and on the tasks, making an 
error. So, can anybody give me a clue how to make a task assigned to 2 people 
with a timer with the exposed idea? I've tried 10000000000.....00000 things and 
it does not work at all... i don't know what else to try, i also tried with 
assignment pooled-actors="user1, user2" for that task but no success...

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to