text=An activity is a model element that represents the performance of a task or duty in a workflow or operation. Activities may contain internal actions that represent executable computations such as calculating a value. Each action must occur within the activity before the workflow continues to the next shape on an activity diagram. To distinguish activities from states, remember that an activity is a step in a process while a state represents a condition or situation during the life of an object.