Transitions from and to Hierarchy States
The transition from C to the hierarchy state (see Hierarchy) D_hierarchy is valid if C is active, the trigger event trigger occurs, and the condition [switch_on] is true. It is an explicit transition to the hierarchy state.
For a valid transition to a hierarchy state, you must define one substate as the destination. Here, you do this by marking the substate D1 as start state (see Start State). What is executed in fact is the transition from C to D1.
The transition from D_hierarchy to C is valid if D_hierarchy is active, the trigger event trigger occurred, and the condition [switch_off] is true, regardless of which substate is active.

See also