Following up my own post.
I decided to implement michaelholtzman's fix to the Join node.
Essentially:
| if (this.equals(tok.getNode()) tok.end(false);
|
However, I chose to pass in false to the end method, such that the parent token
and associated process instance doesn't also get ended.
Shouldn't this fix be in core JBPM anyway? It 's omission contradicts the
documentation which states:
anonymous wrote : A join will end every token that enters the join.
As the 3.1 and below code currently stands, this is a lie.
To overcome my problem with deleteProcessInstance and it's issue with > 2000
tokens, I've also implemented an ActionHandler on the node-leave event of my
join node, which now removes these old (and now ENDED) child tokens.
Andy
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941308#3941308
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941308
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user