Process Modeling
Process Modeling
Requirements:
Process Modeling
GROUP 5
TEAM
MUGABO Vedaste
MUKAMFIZI Gisele
MUNEZERO Michel
Learning Objectives
Deliverables and Outcomes, First, a context data-flow diagram shows the system,
indicating which elements are inside and outside the system. Second, data-flow
diagrams of the current system specify which people and technologies are used in
which processes to move and transform data, accepting inputs and producing outputs.
Data flow diagrams
Data flow diagrams
Data-flow diagrams are versatile diagramming tools. With only four symbols,
data-flow diagrams can represent both physical and logical information systems. The
four symbols used are datastores, processes, sources/sinks (or external entities).It’s a
graphical representation that visually maps out how data moves through a system or process.
1. Learning objectives
2. Defining key terms ( Process modeling, Modeling a system
process, Data Flow Diagram, Tools figma, Deliverables and
outcomes. )
3. DFD mechanics ( data store, Process, Source/Sink
4. Developing DFD Example MACOCO Restaurant
1. The context diagram represents the overall system and its interaction
with external entities (customers, kitchen, inventory system).
2. The level-0 DFD breaks the system into four main processes.
3. The level-1 DFD further decomposes one of these processes (e.g.,
"Receive and Transform Customer Food Order") into five
subprocesses.
4. If necessary, each of these sub processes can be further decomposed,
resulting in level-2 DFDs, and so on.
Balancing Data Flow Diagrams and Primitive DFD
What is Balancing?
Balancing in DFDs ensures that when a process is decomposed into a lower-level diagram,
the number and type of inputs and outputs must remain the same. This principle
maintains consistency across different levels of a system’s data representation.
A Primitive DFD is the lowest level of a Data Flow Diagram (DFD), where no further
breakdown is necessary. To determine when to stop decomposing, follow these guidelines:
Completeness – Ensure all essential components (processes, data flows, data stores, and
external entities) are included and properly connected. CASE tools help detect missing
elements.
Consistency – Higher and lower-level DFDs should align. No data flows should appear in one
level but not another. CASE tools help identify inconsistencies.
Timing – DFDs do not represent time-based operations (e.g., real-time updates vs. batch
processing). They should be drawn as if the system is always running.
Iterative Development – DFDs require multiple revisions to accurately model the system. On
average, about three revisions per DFD are needed. CASE tools simplify this process.
Primitive DFDs ensure that the system is detailed enough for development while avoiding
unnecessary complexity. They help maintain completeness, consistency, and accuracy in
system modeling and serve as a foundation for system design and implementation.
DFD Design rules, Document to download
1. Microsoft Visio
2. Lucidchart
3. Enterprise Architect
https://www.lucidchart.com/pages
Logic Modeling
Logic modeling is a method used to represent the internal processing logic of a system.
Purpose: To represent the internal logic of processes that Data-Flow Diagrams (DFDs) cannot show.
Use Case: Helps to define how input data is processed into output information within a system's
processes.
Decision Tables
Decision Tables
A decision table is a matrix that represents the logic of a decision, showing possible conditions and the corresponding
actions.
● Conditions: Employee type (Salaried or Hourly) and Hours worked (<40, 40, >40).
● Actions: Pay base salary, Calculate hourly wage, Calculate overtime, Produce Absence Report.
● Rules: Define which actions are triggered by each condition combination.
Component of the Decision Tables
1. Condition stubs are part of a decision table that lists all the relevant conditions (or decision criteria) that
need to be evaluated before taking an action. They define the specific scenarios under which actions are
triggered.
2. Action stubs are components of a decision table that list all possible actions that might be taken based on
evaluated conditions. They describe what the system or process should do when specific conditions
(outlined in condition stubs) are met.
3. Rules in a decision table represent specific combinations of conditions and the corresponding actions that
should be executed. Each rule is essentially a column in the decision table that maps a unique scenario (set
of conditions) to specific actions.
Web Store
Example on Web store
A web store needs to decide the appropriate action when a customer attempts to place an
order. The decision depends on three conditions:
● Is Payment Completed?
● Is Stock Available?
● Is the Customer a VIP Member?
Priority Handling: VIP members receive special offers when stock is limited.
This decision table ensures that the web store's checkout process is logical, fair, and
provides a good user experience, especially for VIP customers.
Recap