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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...