entry activity

An action performed when a state is entered.

See also exit activity, run-to-completion, state machine, transition.

Semantics

A state may have an optional entry activity attached to it. Whenever the state is entered in any way, the entry activity is executed after any activities attached to outer states or transitions and before any activities attached to inner states. The entry activity may not be evaded by any means. It is guaranteed to have been executed whenever the owning state or a state nested within it is active.

Execution order. On a transition between two states with exit and entry activity in which the transition also has an attached activity, the execution order is: Any exit activities are executed on the source state ...

Get Unified Modeling Language Reference Manual, The, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.