States

A state describes a period of time during which some condition holds. The state may represent a static situation such as waiting for some event to occur or a dynamic condition such as the process of performing some behavior (for example, the filling of a tank).

The state is entered when the condition starts and is exited as when the condition is complete. For complete information, see Evaluating states.