Process Modeling: - Slide 1
Process Modeling: - Slide 1
Process Modeling: - Slide 1
Slide 1 .
Key Definitions
A process model is a formal way of representing how a business operates Data flow diagramming shows business processes and the data that flows between them
Slide 2
Key Definitions
Logical process models describe processes without suggesting how they are conducted Physical models include information about how the processes are implemented
Slide 3
Slide 4
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 John Wiley & Sons, Inc. All rights reserved.
Reading a DFD
Slide 5
DFD Elements
Slide 6
Visio 2000
From Flow Chart / Data Flow Diagram
Process
Process Process
Data Store
Data Store 1 Data Store
ID #
External Entity
External Entity
External Entity
Slide 7
Structured English
Common Statements Action Statement Example Profits = Revenues - Expenses Generate Inventory - Report Add Product record to Product Data Store IF Customer Not in Customer Data Store THEN Add Customer record to Customer Data Store ELSE Add Current-Sale to Customers Total-Sales Update Customer record in Customer Data Store FOR all Customers in Customer Data Store Generate a new line in the Customer-Report Add Customers Total-Sales to Report-Total CASE
If Statement
For Statement
Case Statement
If Income < 10,000: Marginal-tax-rate If Income < 20,000: Marginal-tax-rate If Income < 30,000: Marginal-tax-rate If Income < 40,000: Marginal-tax-rate ELSE Marginal-tax-rate = 38% ENDCASE
= = = =
Slide 8
Key Definition
Decomposition is the process of modeling the system and its components in increasing levels of detail. Balancing involves insuring that information presented at one level of a DFD is accurately represented in the next level DFD.
Slide 9
Context Diagram
Shows the context into which the business process fits Shows the overall business process as just one process Shows all the outside entities that receive information from or contribute information to the system
Slide 10
Slide 11
Decomposition Diagram
Slide 12
Level 0 Diagram
Shows all the processes that comprise the overall system Shows how information moves from and to each process Adds data stores
Slide 13
Level 1 Diagrams
Shows all the processes that comprise a single process on the level 0 diagram Shows how information moves from and to each of these processes Shows in more detail the content of higher level process Level 1 diagrams may not be needed for all level 0 processes
Slide 14
Level 2 Diagrams
Shows all processes that comprise a single process on the level 1 diagram Shows how information moves from and to each of these processes Level 2 diagrams may not be needed for all level 1 processes Correctly numbering each process helps the user understand where the process fits into the overall system
Slide 15
Slide 16
Slide 17
Your Turn
At this point in the process it is easy to lose track of the big picture. Describe the difference between data flows, data stores, and processes. Describe in your own words the relationship between the DFD and the ultimate new application being developed.
Slide 18
Slide 19
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 John Wiley & Sons, Inc. All rights reserved.
Slide 22
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 John Wiley & Sons, Inc. All rights reserved.
Slide 24
Slide 26
Miracle
Slide 27
Invoice
Slide 28
Slide 29
Level 0 Tips
Generally move from top to bottom, left to right Minimize crossed lines Iterate as needed
The DFD is often drawn many times before it is finished, even with very experienced systems analysts
Slide 30
Slide 31
Slide 33
Slide 34
Slide 36
What sort of a use case fits your project: Fully Dressed, ...?
Use Case 12. Buy stocks over the web
Primary Actor: Purchaser (user) Scope: PAF Level: user goal Precondition: User already has PAF open. Guarantees: sufficient log information exists that PAF can detect what went wrong. Success Guarantees: remote web site acknowledged purchase, user's portfolio updated. Main success scenario: 1. User selects to buy stocks over the web. 2. PAF gets name of web site to use (E*Trade, Schwabb, etc.) 3. PAF opens web connection to the site, retaining control. 4. User browses and buys stock from the web site. 5. PAF intercepts responses from the web site, and updates the user's portfolio.
3a. ...
What sort of a use case fits your project: ..., Casual, ...?
...
Brief Description Prepare digital Convert external digital data to cartographic standard format, validate & source correct in preparation for merging with operational database.
Goal
...
...
Answer is, of course... What are your projects Priorities and Communication Channels?
Slide 41
Use cases do not collect formulae, state, cardinality, performance, uptime, ...
Examples:
1. Order cost = order item costs * 1.06 tax
2. Promotions may not run longer than 6 months. 3. Customers only become Preferred after ... 4. A customer has one and only one sales contact. 5. Response time is ... 6. Uptime requirement is ... 7. Number of simultaneous users will be ... Capture those in any form available (just a tool problem)
Slide 42
Goals make a good structure on which to hang requirements & project details.
Project planning capitalizes on goal structure: Useable Releases. Priorities, Schedule, staffing Name Update customer Generate invoice Funds transfer Scan products
Slide 43
Rel 1 3 4 1
Tm .. .. .. ..
Scenarios
Slide 44
Summary
The Data Flow Diagram (DFD) is an essential tool for creating formal descriptions of business processes and data flows. Use cases record the input, transformation, and output of business processes. Eliciting scenario descriptions and modeling business processes are critically important skills for the systems analyst to master.
Slide 45