In UML modeling, you can add a do, entry, or exit activity to simple, composite, and orthogonal states to describe an activity that is ongoing in a particular state, or that is performed only upon entry into a state or exit out of a state. A do activity occurs while in a state. An entry activity occurs upon entering a state. An exit activity occurs upon exiting a state.
| Activity type | Description | Icon |
|---|---|---|
| Entry | An activity that is performed when a state is entered. | |
| Do | An activity that starts when a state is entered and continues until completion of the activity or until the state is exited. | |
| Exit | An activity that is performed when a state is exited. |
Parent topic: State machines
Related tasks
Removing states from a composite state
Grouping state machine model elements into a new composite state