Specifying Entry and Exit Actions
Go Up to Activity Diagram Procedures
You can create entry and exit actions as nodes, or as stereotyped internal transitions.
To specify entry and exit actions using the in-place editor:
- Create an internal transition in the desired state.
- Double-click the internal transition to enable in-place editing.
- Rename the internal transition using the following syntax:
stereotype/actionName(argument)
For example:
exit/setState(idle)
To specify entry and exit actions using internal transitions:
- Create the internal transition.
- Set the event name, event arguments, and action expression properties using the Object Inspector for the internal transition.