I made more research with this problem.
It seems, that when the process ends, it executes the second node - the not selected path
(the one I didn't go to from decision). The reason it executes the not selected is
that it is the default transition from decision node.
I made a test case that simplified this (decision node and two child nodes so that
depending on selection and transition, it printed different string to console) and after I
went to end state, it ran the default transition of decision node. If I chose the default
transition, it was executed twice, if I chose the second transition, both were executed.
decision
/ \
node 1 node2
\ /
end state
So the question remains, why it executes the default transition after i go to end state?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076721#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...