In UML, activities are container elements that describe the highest level of behavior in an activity diagram. Activities contain several activity nodes and activity edges that represent the sequence of tasks in a workflow that result in a behavior.

An activity is composed of a series of discrete activity nodes, such as actions, that are connected by control flows or object flows. The actions in an activity are invoked when one of the following events occur:

Each activity has a unique name that describes the purpose for the activity.

You can use activities to do the following things: