You can use activity diagrams to model the sequence of actions that must take place in a system or application.
Specifying the flow of control and data in activity diagrams
In UML modeling, you can create one or several activity diagrams to illustrate how the activity nodes, activity edges, and other activity diagram model elements relate to each other.Grouping the behaviors in activities
You can group the activity nodes and edges in an activity diagram using partitions, so that each partition models a part of the activity.
Related concepts
Activity diagrams
Canonical behavior in modeling diagrams
Constraints