Prev | Next |
StateMachine Table Conventions
Trigger
- Deleting a Trigger removes it completely from the model, therefore you cannot UNDO a Trigger deletion
- There is a <None> column at the end of the Event heading row; this is for Transitions that have no Trigger information
State
From the Toolbox you can insert these State element types only (although the StateMachine table might pick up and display other types, such as Submachine State):
- State
- Initial
- Final
- Entry
- Exit
- Terminate
Transition
The Transition cell displays its properties in one of two ways, depending on the StateMachine table format; if the StateMachine table format is State - Trigger or Trigger - State, the Transition cell displays the Guard and Target as shown:
![A State Machine Table Transition showng a Guard in Sparx Systems Enterprise Architect. A State Machine Table Transition showng a Guard in Sparx Systems Enterprise Architect.](../images/sttransit.png)
If the StateMachine table format is State - Next State, then the Transition cell displays the Trigger, Guard and Effect in this format:
![A State Machine Table Transition showng a Guard in Sparx Systems Enterprise Architect. A State Machine Table Transition showng a Guard in Sparx Systems Enterprise Architect.](../images/snstransit.png)
In the StateMachine table, you can edit the Guard and Effect in place. If the Guard or Effect is empty for your selected Transition cell, the cell displays an ellipsis (...) instead; click twice (not double-click) on the ellipsis to type in the Guard and Effect names.