"cpob" wrote : if you want to end the task, you should do a taskInstance.end.
  | 
  | Or, you could add end-tasks="true" to your task node xml:
  | <task-node name="task4" end-tasks="true">
  | 
  | That will then end all open tasks when the node is left.

(1)what do you mean "task end"? I went through the source code and find out 
that the hibernate queries for findTaskInstance....() related methods only 
retrieve the "open" tasks. 

(2)What is the purpose of this "open" flag in  jbpm design? 

(3)Under what situation, will the  completion of a task instances trigger a 
signal on the token? In other words, who will response for the triggering of 
the token when a task instance is completed?

anonymous wrote : 
  | Token.end will END the token and all of its children
  | 
(4)I know token.signal() move the token to next node. But what is the function 
of "token.end()"? If a token and all of its children are ended, what does it 
mean? 

yang



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965153
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to