Activity Diagrams

Download Report

Transcript Activity Diagrams

Chapter 7 Appendix B
Activity/Workflow Diagrams
Process Modeling:
Activity/Workflow Diagrams

Activity Diagrams
 Show
the conditional logic for the sequence of
system activities needed to accomplish a
business process.
 Clearly show parallel and alternative
behaviors.
 Can be used to show the logic of a use case.
Chapter 7 Appendix B
© 2011 Pearson Education, Inc. Publishing as Prentice Hall
2
Use Activity Diagrams to:





Depict the flow of control from activity to
activity.
Help in use case analysis to understand what
actions need to take place.
Help in identifying extensions in a use case.
Model work flow and business processes.
Model the sequential and concurrent steps in a
computation process.
Chapter 7 Appendix B
© 2011 Pearson Education, Inc. Publishing as Prentice Hall
3
FIGURE 7-36
Activity diagram for a
customer order
process
Chapter 7 Appendix B
© 2011 Pearson Education, Inc. Publishing as Prentice Hall
4
Process Modeling: Activity
Diagrams (Cont.)
 Elements
of Activity Diagrams:
Activity:
a behavior that an object
carries out while in a particular state
Transition: a movement from one
activity or state to another
Branch: a diamond symbol
containing a condition whose results
provide transitions to different paths
of activities
Chapter 7 Appendix B
© 2011 Pearson Education, Inc. Publishing as Prentice Hall
5
Process Modeling: Activity
Diagrams (Cont.)
Synchronization
bar: horizontal or
vertical bars denoting parallel or
concurrent paths of activities
 Fork:
the beginning of parallel activities
 Join: the end of parallel activities
Swimlanes:
columns representing
different organizational units of the
system
Chapter 7 Appendix B
© 2011 Pearson Education, Inc. Publishing as Prentice Hall
6
Activity/Workflow Diagrams




A activity diagram shows a high-level view of a
business process, indicating steps, inputs, and
outputs
These do not typically attempt to show any decisions
The swimlane variant of the workflow diagram shows
participants (people or systems) responsible for
carrying our various steps
Each participant has its own swimlane
7
Activity/Workflow Diagrams




Useful for analyzing existing business processes
Can show impact on existing processes of requested
changes
Can identify opportunities for process improvement
Can model process changes or new processes
8
Activity/Workflow Diagram Example (with swim
lanes)
Process Name: Complete an Online Customer Order
swim lanes
Input: Customer profile information, including
billing and shipping information
Customer
start
sign in
submit
order
Order
Approval
confirm
available
Inventory
check
inventory
Order
Fulfillment
Shipping
confirm
payment
adjust
inventory
assemble
order
pack
order
ship
order
stop
Output: Shipping bill and
tracking information
9
Activity
Consider the Seminar Management System we’ve been working on.
Work with your team to create a workflow diagram (with swim lanes)
for the process of scheduling a seminar venue. Note that this
process should include the preliminary process/activity of obtaining
an instructor.
Refer to the earlier Level Context diagram for this system to refresh
your memory about it if needed.
Writing Requirements
With your team, utilize the Context DFD and the workflow diagram
the team created to write a draft of the business requirements for
the Seminar Management System.
Organize the requirements in categories to make them easier to
read and change as necessary.
11
Get Final Roster
1)
2)
SMS will be able to receive the final class roster from the class
instructor
SMS will send acknowledgement of receipt of the final roster to
the instructor.
Collect and Report Evaluations
1)
2)
3)
4)
5)
Using the final roster, SMS will retrieve participant email
addresses from the Attendee data store.
SMS will send a request to the corporate email system to
generate emails to each participant on the final roster for a
given class, asking them to complete class evaluations.
For each completed class, SMS will accept and store all
completed class evaluations.
** Upon receipt of a participant’s class evaluation, SMS will
notify SRS to issue a certificate of completion to the participant.
SMS will produce a statistical report (see attached sample
report) for a given class upon demand.
12
Major Processes
 Schedule Hotel
 Finalize Roster
 Collect and Store Evaluations
 Schedule Instructor
 Submit Payment Info
 Notify/Inform Print Vendor