history

The history pseudo-state, also referred to as shallow history, represents the most recent active substate of its containing state. Unlike deep history, history does not represent the history of any substates of that substate.

A composite state can have at most one history pseudo-state. A transition into history is equivalent to a transition coming into the most recent active substate of a state. At most, one transition may originate from the history pseudo-state to the default history state. This transition is taken in case the composite state has never been active before and therefore the history is empty. Entry actions of states entered on the path to the state represented by a history are performed.

Icon

historyblock

Constraints

      History pseudo-states can have at most one outgoing transition.

Color

Foreground: Specifies the color of the outer ring. 

Background: Specifies the color of the center.

Name: Specifies a name for the state.

Example

See Examples > State Charts > ShallowHistory001.