Once
a transition
is active and selected to fire,
there is an implied action sequencing:
- States
are exited and their exit actions are executed,
where deeper states are exited before their parent states. In case
of
orthogonal components, the order among orthogonal siblings is undetermined.
- Actions sequencing follow the direction of the
transition. The closer the action to the source state, the earlier
it is evaluated.
- Target states are entered
and their entry actions
are executed, where parent states are entered before substates. In
the case of orthogonal components, the entry order is undetermined.