final state

The final state is used in a region to indicate completion of the region. If all other regions in the composite state are also completed, then the first active exit transition from the composite state is taken.

When the final state is entered, its containing region is completed. The containing state for this region is considered completed when all contained regions are completed. If the region is contained in a state machine and all other regions in the state machine also are completed, the entire state machine terminates, implying the termination of the context object of the state machine.

The final state is considered a substate and not a pseudostate.



      A final state cannot have any outgoing transitions.

      A final state has no actions.


Background: Specifies the color of the inner ring.

Foreground: Specifies the color of the center and outer ring.

Name: Specifies a name for the state.