Transitions Transitions A basic transition is composed of a single arrow between a source and a destination. Transitions represent the response to a message in a given state. They show what the next state will be, given a certain trigger. A transition can have a trigger, guard, and actions. The transition context is the scope in which the message data (parameters) are visible. Any guard and action inherit the context of an transition determining the parameters that can be referenced within it. The source of an transition can be one of the following items: Љ State Љ Initial connector Љ History connector The destination of an transition can be one of the following items:
Љ State Љ Final activity Љ History connector Creating a statechart transition To draw a statechart transition: 1. Click the Transition button in Diagram Tools . 2. Click the bottom edge of the state to anchor the start of the transition. 3. Move the cursor to the top edge of the state and click to anchor the transition line. 4. In the label box, type the name of the event. Press Ctrl+Enter to terminate. Note Pressing Enter in an transition name, without simultaneously pressing Ctrl, simply adds a new line. Rational Rhapsody 735