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
- Right-click a transition; then click .
- 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.