You can use activity diagrams to model the sequence of
actions that must take place in a system or application.
Before UML 2.0, activity diagrams were part of
state machines and were referred to as activity graphs. In UML 2.0
the activity diagram is a distinct diagram, separate from a state
machine, that focuses on the tasks that a system must perform.