Related content
In case of simple States, a completion event is generated when the associated
entry
and doActivity
Behaviors have completed executing. If no such Behaviors are defined, the completion event is generated upon entry into the State.