No NO NO!.. LOL
anonymous wrote :
|
| 1. The token is in start.
| 2. I do a signal and then the token arrives at the fork. At that time it does not know
what to do, they may be transitions with conditions.
| 3. When another signal is done on the token in the fork, THEN it will determine what
transitions to follow and thus childeren can be created.
|
the second (2) point is wrong.. when the process enter to de fork node It know how many
transition have.. so it create all the child token.. (If you don't belive me.. see the
ForkNode.java class)
The fork node is not a wait state.. so if you signal the start-state, the process will
continue passing thru the fork node until reach the S1 and S2 nodes...
So do this test:
1) signal de root token
2) look for childrens.. at this time with only one signal.. you must have 2 children.
3) then you can signal one of the child tokens and you see that the root token still in
the fork node and the child token go to join node
4) then signal the other token and you will see that the root token moves to the end and
the child token like the other move to join node...
Can you do that test and post your code?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189197#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...