0% found this document useful (0 votes)
195 views5 pages

Activity Diagram

Activity diagrams are used to describe the dynamic aspects and flow of a system from one activity to another. The control flow between activities can be sequential, branched, or concurrent. Activity diagrams capture the dynamic behavior of the system and show message flow between activities. They are used to visualize system dynamics and construct executable systems through forward and reverse engineering. An activity diagram example is presented for an order management system with four main activities: sending an order, receiving an order, confirming an order, and dispatching an order.

Uploaded by

Muhammad Haseeb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
195 views5 pages

Activity Diagram

Activity diagrams are used to describe the dynamic aspects and flow of a system from one activity to another. The control flow between activities can be sequential, branched, or concurrent. Activity diagrams capture the dynamic behavior of the system and show message flow between activities. They are used to visualize system dynamics and construct executable systems through forward and reverse engineering. An activity diagram example is presented for an order management system with four main activities: sending an order, receiving an order, confirming an order, and dispatching an order.

Uploaded by

Muhammad Haseeb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Activity diagram is another important diagram in UML to describe the dynamic aspects of the

system.

Activity diagram is basically a flowchart to represent the flow from one activity to another
activity. The activity can be described as an operation of the system.

The control flow is drawn from one operation to another. This flow can be sequential, branched,
or concurrent. Activity diagrams deal with all type of flow control by using different elements
such as fork, join, etc

Purpose of Activity Diagrams


The basic purposes of activity diagrams is similar to other four diagrams. It captures the dynamic
behavior of the system. Other four diagrams are used to show the message flow from one object
to another, but activity diagram is used to show message flow from one activity to another.

Activity is a particular operation of the system. Activity diagrams are not only used for
visualizing the dynamic nature of a system, but they are also used to construct the executable
system by using forward and reverse engineering techniques. The only missing thing in the
activity diagram is the message part.

It does not show any message flow from one activity to another. Activity diagram is sometimes
considered as the flowchart. Although the diagrams look like a flowchart, they are not. It shows
different flows such as parallel, branched, concurrent, and single.

The purpose of an activity diagram can be described as −

 Draw the activity flow of a system.


 Describe the sequence from one activity to another.
 Describe the parallel, branched and concurrent flow of the system.

Following is an example of an activity diagram for order management system. In the diagram,
four activities are identified which are associated with conditions. One important point should be
clearly understood that an activity diagram cannot be exactly matched with the code. The activity
diagram is made to understand the flow of activities and is mainly used by the business users

Following diagram is drawn with the four main activities −

 Send order by the customer


 Receipt of the order
 Confirm the order
 Dispatch the order
After receiving the order request, condition checks are performed to check if it is normal or
special order. After the type of order is identified, dispatch activity is performed and that is
marked as the termination of the process.

You might also like