Using v3.1.4...
1-In Node.java, comment out line 375
// transition.take(executionContext);
2-In Token.java, put this after line 184
Transition nextTransition = null;
while ((nextTransition = executionContext.getTransition()) != null) {
nextTransition.take(executionContext);
}
Please note I'm not expert in jBPM(yet) and only tested with a quick example.
I'm hoping to solve a couple of problems here.
1-Avoid Stackoverflow on very large graphs without waitstate; Not using recursion is just
nicer.
2-Able to break out of infinite loops. In step two above I could break after a
configurable number of transitions into an error state, preventing stackoverflow.
What do you think?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116153#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...