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

Activity Diagrams-TA

Activity diagrams are UML tools used to illustrate the flow of control in a system, detailing the sequence and interactions of activities within a use case. They can represent sequential, branched, or concurrent flows and are applicable in both software and business modeling. The document also includes examples of activity diagrams for a registration process and an order processing workflow.
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)
10 views9 pages

Activity Diagrams-TA

Activity diagrams are UML tools used to illustrate the flow of control in a system, detailing the sequence and interactions of activities within a use case. They can represent sequential, branched, or concurrent flows and are applicable in both software and business modeling. The document also includes examples of activity diagrams for a registration process and an order processing workflow.
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

Activity Diagrams - Topics


• What is an Activity?
• Activity Diagrams – Notation
• Activity Diagrams – 2 Examples

2
What is an Activity?
 Activity diagram is used to illustrate the flow of control in a system and refer to the steps involved in the
execution of a use case.
 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 control flow is drawn from one operation to another.

 This flow can be sequential, branched, or concurrent.


 Activity diagrams can be used in all stages of software development and for various purposes.
 Because they are similar to flowcharts, they are generally more popular than other UML diagram types.
 Activity diagram helps to visualize a certain use case at a more detailed level.
 It is a behavioral diagram that illustrates the flow of activities through a system.
• Activity diagrams show the sequence of activities in a process, including sequential and parallel activities,
and decisions that are made. 3
Purpose of an Activity Diagram
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.
When to use Activity Diagram
• Activity diagram is used to model business processes and workflows.

• These diagrams are used in software modeling as well as business modeling.

• Most commonly activity diagrams are used to:

• Model the workflow in a graphical way, which is easily understandable.

• Model the execution flow between various entities of a system.

• Model the detailed information about any function/algorithm which is used inside the system.

• Model business processes and their workflows.

• Capture the dynamic behavior of a system.

• Generate high-level flowcharts to represent the workflow of any application.


Activity Diagram Notation and Symbol
Activity Diagram Notation
• A fork has one incoming transition and multiple outgoing Start State
transitions.
• The result is that execution splits into two concurrent Activity
Fork
threads.
• A join has multiple incoming transitions and one outgoing
transition. Decision Node
• The outgoing transition will be taken only when all
incoming transitions have been triggered.
• The incoming transitions must be triggered in separate
threads.
• A decision node has one incoming transition and multiple
outgoing transitions, each with a Boolean guard in square Merge Node Join
brackets.
• Exactly one of the outgoing transitions will be taken.
End
• A merge node has two incoming transitions and one outgoing State
transition.
• It is used to bring together paths that had been split by
decision nodes.
Example 1

Activity Diagram – Registration Process

• This example describes a course registration process starting


with a registration request upon receiving the request.

• If the course is not full, the registration process can be


completed; otherwise, the process should be terminated.

• If the student meets the prerequisites or has special


permission to register.

• If neither condition is met, the registration process is


terminated.
Example 2
Activity Diagram - Process Order

• 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.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy