Adding any received event triggers to state machine diagrams

In UML models, you can add triggers to state machine diagrams for any received event, which means that any type can trigger the event. This type of transition triggers on any event, as long as no other event trigger type is connected to the source state.

Before you begin

You must have a state machine diagram open in the Modeling perspective.

Procedure

  1. Right-click a transition; then click Add UML > Trigger > Any Receive Event.
  2. Complete one of the following steps:
    • To create a new event, click Create Any Received Event.
    • To select an existing change event, click Select Existing Element, and in the Select Element window, click an event, and click OK.

Results

The any received event is added to the transition in the diagram and in the Project Explorer view. You can view and modify details about the change event in the Properties view, on the Triggers page for the selected transition.

Feedback