cs711 slides
cs711 slides
Software Design
Lecture : 22
2
Dynamic
Activity diagram
Object diagram
State diagram
Sequence diagram
3
Implementation
Component diagram
Deployment diagram
4
Introduction to Activity
Diagram
In many ways UML Activity diagrams are the
object-oriented equivalent of flow charts and data-
flow diagrams (DFDs). They are used to explore
the logic of:
A complex operation
A complex business rule
A single use case
Several use cases
A business process
5
Initial State
The filled in circle is the starting point of the
diagram. An initial node isn’t required
although it does make it significantly easier
to read the diagram
Activity
An activity, also known as an activity state, on
a UML Activity diagram typically represents
the invocation of an operation, a step in a
business process, or an entire business
process.
Flow / Edges
complete a workflow
10
Vocabulary
Join
Branch - Decision:
Merging
Basic Vocabulary
state.
16
Pictorial Representation of
Problem Statement
19
Non-Computer Science
Scenario
Consider the workflow associated with building a
house. First, you select a site. Next, you
commission an architect to design your house.
After you've settled on the plan, your developer
asks for bids to price the house. Once you agree
on a price and a plan, construction can begin.
Permits are secured, ground is broken, the
foundation is poured, the framing is erected, and
so on, until everything is done. You're then
handed the keys and a certificate of occupancy,
20
21
Problem Statement
22
Possible Solution
24
Swim Lanes
At times it useful, especially when you are
modeling workflows of business
processes, to
partition the activity states on an activity
diagram into groups
Scenario
• In a typical customer services call centre scenario
where multiple people are sitting, when a call is
received it is first decided whether it’s a call from a
new customer or an existing customer, in parallel log of
the call is created to have record of the communication
between Call Centre Representative (CCR) for future
reference. If it is a call from a new customer then the
call is transferred to sales team and it the call is from
an existing customer then call is transferred to
helpdesk after this the process is completed
27
28
Problem Statement
Possible Solution
30
31
Tasks to Do
Create Activity diagram of Use Case Diagram
Possible Solution