If I have a state S1 with 2 transitions both with triggered by an event 'A', but one of them has as a guard x !=0
and the other doesn't. What would be the expected behavior when guard is valid (x ==1
)?
- Unpredictable
- Transition with guard is taken
- Transition without guard is taken
I don't remember reading about not being able to have 2 transitions with the same event.