Activities for simple, composite and orthogonal states

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. The entry activity is displayed as a curved arrow to the left of two vertical bars.
Do An activity that starts when a state is entered and continues until completion of the activity or until the state is exited. The do activity is displayed as a circular arrow.
Exit An activity that is performed when a state is exited. The exit activity is displayed as a curved arrow between two vertical bars.
Related tasks
Removing states from a composite state
Grouping state machine model elements into a new composite state
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.