I am developing a state machine model in MagicDraw. Very nearly all of my state transitions are doubled up, as this is how I was told to do it during the handover period.
ie, between two states I will have both [MyInteger >= 50] and when(MyInteger >=50)
The first operates if the condition is true on entry into the state, and the second if the condition becomes true while the state is already active.
This seems to be necessary because “when” only triggers on a false to true transition, and plain guards only appear to be evaluated on entry into the state.
Is there any way to combine these into a single arrow in the diagram? What I have works, but looks untidy.