0% found this document useful (0 votes)
21 views9 pages

Activity Diagrams

Uploaded by

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

Activity Diagrams

Uploaded by

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

ACTIVITY

DIAGRAMS
WHAT IS AN ACTIVITY DIAGRAM?

• Activity diagrams show the steps involved in how a system works,


helping us understand the flow of control.
• They display the order in which activities happen and whether they
occur one after the other or at the same time. These diagrams help
explain what triggers certain actions or events in a system.
• They are often used in business and process modeling to show how a
system behaves over time
SYMBOLS/ELEMENTS IN ACTIVITY DIAGRAMS
• Initial Node(start): This shows the starting point or first activity of the flow. Denoted by a solid
circle.
• Final Node(stop) Stop all control flows and object flows in an activity (or action)
• Activity: Represented by a rectangle with rounded (almost oval) edges.
• Decisions: Similar to flowcharts, a logic where a decision is to be made is depicted by a diamond,
with the options written on either sides of the arrows emerging from the diamond, within box
brackets.

• Merge Node :Bring back together different decision paths that were created using a decision-node.

• Fork Node : Split behavior into a set of parallel or concurrent flows of activities (or actions)

• Join Node : Bring back together a set of parallel or concurrent flows of activities (or actions).
ACTIVITY DIAGRAM EXAMPLE - PROCESS
ORDER
• Given the problem description related to the workflow for processing an order,
let's model the description in visual representation using an activity diagram:
Process Order - Problem Description
• Once the order is received, the activities split into two parallel sets of activities.
One side fills and sends the order while the other handles the billing.
• On the Fill Order side, the method of delivery is decided conditionally. Depending
on the condition either the Overnight Delivery activity or the Regular Delivery
activity is performed.
• Finally the parallel activities combine to close the order.
EXAMPLE

• The following diagram is drawn with the four main activities:


• Send order by the customer
• Receipt of the order
• Confirm order
• Dispatch 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