1
Software Design
Lecture : 23
2
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
Ø
Ø
Each group representing the business
organization responsible for those activities.
Each group is known as “Swim Lane”
3
Problem Statement
4
Ø
In an order processing system, once the order is
received multiple activities are initiated to
complete the order process. On one side order
filing is initiated and on the other end billing
mechanism is initiated to receive the payment.
On the order filing side delivery mechanism is
finalized whether it is a rush delivery or regular
delivery. In the end all the activities end to close
an order.
5
Possible Solution without
Swimlanes
6
Possible Solution with SwimLanes
7
8
Problem Statement
9
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
10
11
Problem Statement
•
In a vehicle reservation system, first step is to find the
client id to determine whether the client is new or
existing one, after determining the type of client, the
request for the reservation of vehicle is initiated to find
the to be reserved car, if the car is available then the
inventory is updated along with updating the charges to
calculate the new total of the bill, after new bill is
generated and inventory is updated the process reserving
the car is completed. At each step otherwise step is to be
12
Possible Solution
13
14
Problem Statement
Employee Expense Reimbursement (EER)
Process
15
Ø
This process, implemented as a workflow,
provides for reimbursement of expenses incurred
by employees for the company, for example
travelling, daily allowance, medical etc. In a
normal day there are several hundreds of
instances of this process created.
Ø
The main rules of the process are
Ø
Amounts under 5000 are automatically
16
Possible Solution
17
18
Problem Statement
Journal Revision Process
19
Ø
An author submits paper(s) to the Editor for review. The
Editor will send out the paper to the panel for viewing
once he received the papers. If the paper is accepted by
the panel then it will be published in the next issue of the
Journal. If the papers require to be revised as
recommended by the panel member(s), then the editor
will send them back the author for modification. If the
authors send back the revised papers, they have to be
gone through the revision process, before they will be
either accepted, reject or required for further
modifications.
20
Possible Solution
21
22
Tasks to Do
Ø
Create Activity diagram of Use Case Diagram and Class
Diagram
Ø
Reverse Engineered the activity diagram given in the
next slide to come up with Use Cases and Use Case