You need to assign an event to the transition in order to specify an occurrence of an event which can trigger a state transition.
You can assign an event type to a transition in the following ways:
To assign an event type in the Transition Specification window
In the Trigger category, select the Event Type property value cell. The list of available event types opens.
Select the event type from the list. According to the selected event type, Event Element, and Trigger property values are defined and additional corresponding properties appears in the Trigger category (see the following figure).
Click the Close button after you have defined desired properties.
To assign an event type straight on a transition path
See the list with the event type and its command syntax in the following table.
Name | Command syntax |
---|---|
Any Receive Event | all |
Call Event | <operation name ()> |
Change Event | when (<expression>) |
Signal Event | <signal name> |
Time Event |
|
The event type assigning by typing the command straight on the diagram pane is also available for a transition to self in the State Machine diagram, as well as for a protocol transition and protocol transition to self in the Protocol State Machine diagram. |