Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss jBPM] - Re: task-node attribute create-tasks

scott.stark@jboss.org

2007-08-07


If i understand this right, when you specify the create-tasks attribute for a task node in the process defintion, it automatically creates a taskinstance when the processinstances enters the node. Then it depends on the signalling flag(Rule to exit the node on task completion) of the node 'last', 'last-wait' etc to exit the node to the specified transition.

If the create-task attribute is specified, all you got to do it get it from the list of taskinstances using TaskMgmtInstance. If you create a taskinstance on your own in this case, you will have duplicate taskinstances and the node will not exit until both are completed.

Hope this helps!



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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071738
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.