About this task
The initial connector cannot have a trigger
or a guard, although it can have an action. It might connect to a
decision node after which there might be guards.
Each
state can have the following properties:
- Entry action where an expression executed
upon entrance to the state (uninterpreted by IBM® Rational® Rhapsody®).
An uninterpreted expression is resolved by the compiler, not by the
tool.
- Exit action where an expression executed
upon exit from the state (uninterpreted by Rational Rhapsody).
- Static reactions where actions performed
inside a state in response to a triggering event/operation. The reaction
can be guarded by a condition. A static reaction does not change the
active state configuration.
The state executes
static reactions if: - The state is part of the active configuration.
- The trigger and guard are satisfied.
- A lower-level state has not already responded to
the trigger.
- There is no active transition that causes the state
to be exited.
- Default entry
- History
Note: When a state contains an entry action, exit
action, or static reaction, an icon

displays in the upper
right corner of the state. This icon can be used to toggle the display
of these actions in the state.