Statechart 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 a transition determining the parameters that can be referenced within it.

The source of a transition can be one of the following items:

  • State
  • Initial connector
  • History connector

The destination of a transition can be one of the following items:

  • State
  • Final activity
  • History connector