We thought that it was not possible to end a process from one of the legs of a fork open
tasks. By default the process, keeps running, only the specific token is ended. Now I know
fork/joins may not contain functionality that go's around/outside the fork/join pair.
But shouldn't ending a process not be an exception to this?
while debugging to see if I could develop a workaround, I learned something....
changing
<end-state name="e2" />
to
<end-state name="e2" end-complete-process='true' />
in the end-state 'inside' the fork works as expected.... at least for my simple
unit test. I'll make some more extended test and file a jira issue for documenting
this...
Shouldn't this behaviour be the default btw?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154899#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...