Adding effects to transitions

In UML modeling, an effect is an optional activity that occurs when a transition initiates.

Before you begin

Before you can add an effect to a transition, you must have a state machine diagram open in the Modeling perspective.


  1. Right-click a transition; then click Add UML > Effect.
  2. In the Effects dialog box, complete one of the following steps:
    • To create a new activity, click Create Activity.
    • To create a new state machine effect, click Create State Machine.
    • To create a new opaque behavior, click Create Opaque Behavior.
    • To use an existing effect or activity, click Select Existing Element and search or browse for the desired effect or activity.
  3. Type a name and press Enter.