2 Jul
2012
2 Jul
'12
7:43 a.m.
Hi Andreas,
If you want to transition to either state_A or state_B from state_C based on history, I'm afraid putting state_A and state_B in the same direct or indirect outer state is your only option. That's how history works.
Thanks, that's what I needed to know, I guess... At first I thought it could work without putting the states in some outer state.
In your example, it seems it would be possible to put state_A and state_B into a new outer state state_X and transition to state_X with deep history, no?
Yes, it works fine with the outer state, just like it's explained in the tutorial. I think I'll have to revise the layout of my state machine. Thanks again for the explanation.