Community
Participate
Working Groups
Created attachment 195647 [details] testmodel If a FSM has a State with substate, the substate init transition will be used as init transition instead of the top level init transition. Attached a model to reproduce the fault.
For the attached model the generator produces public void executeInitTransition() { int chain = CHAIN_TRANS_INITIAL_TO__blinking; which is the right transition. The chain starting at the initial transition of the sub-state 'blinking' would be CHAIN_blinking_TRANS_INITIAL_TO__off. I've also verified in the code that the generator is picking the initial transition of the top level state machine.
closed resolved bug