Process Modeling
(by Rini Astuti)
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved.
Objectives
• Define systems modeling and differentiate logical and physical
models.
• Define process modeling and explain its benefits.
• Mengenali dan memahami konsep dasar dan membangun
sebuah model proses.
• Read and interpret a data flow diagram.
• Explain when to construct process models and where to store
them.
• Construct a context diagram to illustrate a system’s interfaces with
its environment.
• Identify use cases, external and temporal business events.
• Perform event partitioning and organize events in a functional
decomposition diagram.
• Draw event diagrams and merge them into a system diagram.
• Draw primitive data flow diagrams and describe the elementary
data flows in terms of data structures and procedural logic.
• Document the distribution of processes to locations.
• Synchronize data and process models using a CRUD matrix.
9-3
Models: Logical and Physical
9-6
Simple Data Flow Diagram
9-7
Differences Between DFDs
and Flowcharts
• Proses dalam DFD dapat dilakukan secara
paralel (at-the-same-time)
• Proses pada Flowcharts mengeksekusi satu per satu
9-12
Process Decomposition
Decomposition – tindakan membagi sistem ke
dalam sub-komponen. Setiap tingkat abstraksi
mengungkapkan lebih atau kurang tingkat detail.
9-13
Decomposition Diagrams
Diagram
Dekomposisi –
alat yang
digunakan untuk
menggambarkan
dekomposisi suatu
sistem. Juga
disebut bagan
hirarki
9-14
Types of Logical Processes
Function – serangkaian kegiatan yang berkaitan dan
berkelanjutan dalam bisnis.
• Sebuah fungsi tidak memiliki awal atau akhir
9-16
Data Flows & Control Flows
Data flow – data that is input to or
output from a process.
• Data yang mengalir Data flow name
• Sebuah aliran data juga dapat digunakan
untuk mewakili pembuatan, membaca,
penghapusan, atau memperbarui data
dalam file atau basisdata (disebut
penyimpan data).
Composite data flow – aliran data
yang terdiri dari arus data lain.
Control flow – kondisi atau peristiwa Control flow name
nondata yang memicu suatu proses.
• Used sparingly on DFDs.
9-17
Data Flow Packet Concept
• Data that should travel together should be
shown as a single data flow, no matter how
many physical documents might be included.
9-18
Composite and Elementary
Data Flows
Composite
flow
Elementary
flows
9-20
Rules for Data Flows
• A data flow
should never go
unnamed.
• In logical
modeling, data
flow names
should describe
the data flow
without
describing the
implementation
• All data flows
must begin
and/or end at a
process.
9-21
Data Structures
Data attribute – bagian terkecil sebuah data
yang masih memiliki arti bagi pemakai dan
bisnis.
Data structure – pengaturan khusus atribut data
yang mendefinisikan contoh tunggal dari suatu
aliran data.
• Data atribut yang terdiri dari suatu aliran data diatur ke
dalam struktur data.
• Arus data dapat dijelaskan dalam beberapa jenis
struktur data berikut :
• Urutan atau kelompok atribut data yang terjadi satu demi
satu.
• Pemilihan satu atau lebih atribut dari himpunan atribut.
• Pengulangan dari satu atau lebih atribut.
9-22
Data Structure for a Data Flow
DATA STRUCTURE ENGLISH ENTERPRETATION
9-25
Data Structure Constructs
(concluded)
Data Structure Format by Example English Interpretation
(relevant portion is boldfaced (relevant portion is boldfaced)
Optional Attributes - The optional CLAIM= An instance of CLAIM consists
notation indicates that an POLICY NUMBER+ of:
attribute, or group of attributes in POLICYHOLDER NAME+ POLICY NUMBER and
a sequence or selection date POLICYHOLDER ADDRESS+ POLICYHOLDER NAME and
structure may not be included in ( SPOUSE NAME+ POLICYHOLDER ADDRESS
all instances of a data flow. DATE OF BIRTH)+… and
Note: For the repetition data optionally, SPOUSE NAME
structure, a minimum of “zero” is and
the same as making the entire DATE OF BIRTH and…
repeating group “optional.”
9-29
Classical Structured Analysis
Rarely practiced anymore because cumbersome & time-consuming
9-30
Modern Structured Analysis
(More Commonly Practiced)
9-32
Structured Analysis Diagram
Progression (2 of 3)
9-33
Structured Analysis Diagram
Progression (3 of 3)
9-34
CASE for Process Modeling
9-35
Context Data Flow Diagram
• Context data flow diagram - a process model
used to document the scope for a system. Also
called the environmental model.
9-37
SoundStage Functional
Decomposition Diagram
• Break system into
sub-components
to reveal more
detail.
• Every process to
be factored
should be
factored into at
least two child
processes.
• Larger systems
might be factored
into subsystems
and functions.
9-38
Events and Use Cases
• External events are initiated by external agents. They
result in an input transaction or data flow.
9-41
Event Diagrams
Event diagram – data flow diagram that
depicts the context for a single event.
• One diagram for each event process
• Depicts
• Inputs from external agents
• Outputs to external agents
• Data stores from which records must be "read."
Data flows should be added and named to
reflect the data that is read.
• Data stores in which records must be created,
deleted, or updated. Data flows should be
named to reflect the update.
9-42
Simple Event Diagram
9-43
Event Diagram (more complex)
9-44
Temporal Event Diagram
9-45
System DFD
9-46
System DFD (concluded)
9-47
Balancing
9-48
Primitive Diagrams
9-50
Specifying a Data Flow
Using a CASE Tool
9-51
Process Logic
• Data Flow Diagram baik untuk mengidentifikasi
dan menjelaskan proses
• Tidak baik di dalam logika yang menunjukkan
proses
• Harus menetapkan petunjuk rinci untuk proses
dasar
• Bagaimana melakukannya?
• Flowcharts & Pseudocode – umumnya pemakai akhir
tidak memahaminya
• Natural English - tepat dan tunduk pada interpretasi
9-52
Problems with Natural English
• Banyak yang tidak menulis dengan baik dan tidak
mempertanyakan kemampuan menulis.
• Banyak juga dididik untuk berkomunikasi dengan
khalayak umum
• Beberapa menulis semuanya seperti itu program.
Dapat memungkinkan jargon komputasi, akronim bahasa
mendominasi.
• Laporan sering memiliki ruang lingkup yang berlebihan
atau membingungkan.
• Terlalu sering menggunakan kalimat majemuk.
• Terlalu banyak kata memiliki beberapa definisi.
• Terlalu banyak laporan tidak tepat menggunakan kata
Source: Adapted from Matthies, Leslie, The New Playscript Procedure,
9-53 sifat. (Stamford, CT: Office Publications, Inc. 1977)
9-54
Structured English Constructs
(Part 1)
9-55
Structured English Constructs
(Part 2)
9-56
Structured English Restrictions
on Process Logic
• Only strong, imperative verbs may be used.
• Only names that have been defined in project
dictionary may be used.
• Formulas should be stated clearly using
appropriate mathematical notations.
• Undefined adjectives and adverbs are not
permitted.
• Blocking and indentation are used to set off the
beginning and ending of constructs.
• User readability should always take priority.
9-57
Policies and Decision Tables
9-58
A Simple Decision Table
9-59
Describing an Elementary
Process Using a CASE Tool
9-60