Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Activity Diagram

Getting to know the Activity Diagram

Aspect

Description

Introducing the Activity Diagram

The Activity diagram is one of the Unified Modeling Language (UML) Behavioral diagrams that can be used to model a process or algorithm as a sequence of steps. It is a more sophisticated version of its close cousin the Flowchart diagram. Activity diagrams can be used to model Business Processes as a UML alternative to the BPMN Business Process diagram and have the same ability to create a hierarchy of Activities in the Project Browser.

Business Analysis tool,  Activity diagram partitions in Sparx Systems Enterprise Architect

The elements can be given a name and detailed descriptions can be added to the notes. By connecting the Activities, Decisions and Forks with connectors (Control Flows) a sequence of elements can describe the business process. A process hierarchy can be constructed by nesting Activities in the Project Browser and using the child diagram functionality to enable drill down from the value chain level to the lowest level processes.

Where to find the Activity Diagram

Ribbon: Design > Diagram > Insert > UML Behavioral > Activity

Project Browser Toolbar : New Diagram icon > UML Behavioral > Activity

Project Browser Context Menu | Add Diagram... > UML Behavioral > Activity

Usage of the Activity Diagram

The Activity diagram can be used to model any business or technical activity or notion that has a series of steps. This includes business and technical processes and also computer algorithms. The steps are connected by Control Flow relationships that show the sequencing of the steps. Decisions and Merges can be used to model choice and to further control the flow through the Activity. Forks and Joins can be added to split and reunite the flow of control and objects added to show how data is supplied and consumed.

Options for the Activity Diagram

Activity diagrams can be drawn at different levels of formality, from a Basic Flow Chart style of diagram used to represent a simple Business Process to a sophisticated Action-based diagram that can be used to model a complex system. There is a toolbox that contains a range of elements, relationships and Patterns for creating the models.

The Activity diagram (like any diagram) can be viewed as an Element List, which makes working with element properties easier.

Diagram Filters can also be used when presenting the diagrams, to draw attention to parts of the diagrams, and the diagrams can be presented in hand drawn or whiteboard style by changing the properties of the diagram.

Diagram Toolbox for UML Activity diagrams in Sparx Systems Enterprise Architect.

Learn more about the Activity Diagram

Activity Diagram