Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Transition
Description
A Transition defines the logical movement from one State to another, in a State Machine diagram. The Transition can be controlled through the following connector Properties dialog fields:
Field |
Action |
See also |
||||||||
---|---|---|---|---|---|---|---|---|---|---|
Guard |
Type in the expression that is to be evaluated after an Event is dispatched, but before the corresponding Transition is triggered. If the guard is true at that time, the Transition is enabled; otherwise, it is disabled.
|
|
||||||||
Effect is a Behavior |
Convert the Effect field from a free-text field to the definition of a specific Activity or behavior. Enterprise Architect displays the Select <Item> dialog to prompt you to select the Activity or behavior element from the model.
|
|||||||||
Effect |
Either:
|
|
||||||||
Trigger |
|
|
||||||||
Name |
Specify the name of the trigger; either:
|
|
||||||||
Type |
Specify the type of trigger: Call, Change, Signal or Time:
Code generation for State Machines currently supports Change and Time trigger events only, and expects a specification value.
|
|
||||||||
Specification |
Specify the event instigating the Transition; either:
|
|
||||||||
New |
Clear the fields ready to begin defining a new trigger.
|
|
||||||||
Save |
Save the newly created or edited trigger.
|
|
||||||||
Delete |
Remove the selected trigger from the list.
|
|
||||||||
<trigger list> |
List the existing triggers, which might or might not have names and types, and which can include Call and Signal triggers created in older models.
|
|
Notes
• | Fork and Join segments can have neither triggers nor guards |
• | You can identify hidden triggers and locate triggers in the Project Browser, using the Find Triggers Associated option on the Transition connector context menu - if one trigger exists for the Transition, it is immediately highlighted in the Project Browser; if more than one trigger exists, the Element Usage dialog displays; select the required trigger and click on the Open button to highlight the trigger in the Project Browser |
Toolbox icon
Learn more
OMG UML Specification:
The OMG UML specification (UML Superstructure Specification, v2.1.1, p. 568) states:
A transition is a directed relationship between a source vertex and a target vertex. It may be part of a compound transition, which takes the state machine from one state configuration to another, representing the complete response of the state machine to an occurrence of an event of a particular type.