Entering a State

  1. If the state has an inactive higher-level state, steps A – D are executed for that state.
  2. The state is activated.
  3. The entry action is executed.
  4. Carry out implicit entry actions as necessary:

    1. If the state contains a subordinate diagram with a history, and if one of the substate was active after initialization, this substate is activated and its entry action executed.
    2. If the state contains a subordinate diagram with a history, and if one of the substate was active after initialization, this substate is activated and its entry action executed. Otherwise, proceed as described in D.a.