Process Modeling Languages Overview
Process Modeling Languages Overview
Petri Network (Pn): Modeling language represented in the form of a directed bipartite graph
(places and transitions).
The places are represented by circles (the states).
Transitions are represented by lines (events).
Each place contains a whole number of marks (or tokens) to model the
system dynamics.
A place is active when it has at least 1 token.
P0
Place
Transition
Correct
Mark (or Token) P1 P2
Arc
False condition Incorrect
P3
True condition
3
Petri net (Pn)
P0 P0
P1 P1
P0 P0
P3 P3
P1 P1
Places Among Avales Places
Crossing a transition
4
Petri net (Pn)
P2 P2
P0 P0
P3 P3
P1 P1
P4 P4
5
Petri Net (Exercise)
Stock of
boys?
Priorities?
7
Petri net and Process
No obvious representation.
8
Structured Analysis and Design Technique (SADT)
Actigram Datagram
9
Structured Analysis and Design Technic (SADT)
10
Structured Analysis and Design Technic (SADT)
Printer
Datagram
Boite: nom
Follow the instructions Arrows: action verb
Provide of Print
white paper White paper PDF
Supplier
11
Structured Analysis and Design Technique (SADT)
Woodcutting workshop (Actigram)
Order
received Record
Order
Available Workshop
Order recorded
Lancer Cutting voucher
Order
Cut
Deliver Delivery
Order
A0 Cutting workshop
12
SADT and Process
Viewpoints
. Data and activities
. No organizational view
Main usage
. Analyse de système
13
MERISE
MERISE: Method of Study and Computer Realization for Business Systems
15
MERISE
Person Car
possesses
ID-Person 0:n 1:1 Car ID
Name brand
First name date color
Date of birth acquisition
16
MERISE
Conceptual Model of Treatments (CMT)
Synchronization:
o Logical proposition (AND, OR).
18
MERISE
Organizational Model of Treatments (OMT)
19
MERISE
Organizational Treatment Model (OTM)
20
MERISE
Organizational Model of Treatments (OMT): Example
1
TR
2
MA
21
MERISE and Process
Business Process
o No explicit modeling of objectives, decisions other than
as information
Points of view
o Data and processing
o No resource views (only mentioned in the MOT)
Main use
o Management Information System Design
22
Unified Modeling Language (UML)
UML: convergence of efforts in object-oriented software design
o Semi-formal language
o Standardized by the OMG
o Not a method, a notation independent of any language...
Modeling levels
o System: in its environment and interactions with users
o Sub-systems: hierarchical structural decomposition of the system
o Entity: detailed modeling at the object level
Usage modes
o « spécification »: (analyse de besoins, comprendre les fonctionnalités du
system...)
o "Outline": (to generate a skeleton...)
o « développement »: générer du code à partir des modèles
Everything is an object
3 axes of modeling:
Dynamic
State diagram
Activity diagram
Static Sequence diagram
Class diagram
Object diagram
Deployment diagram
24
Unified Modeling Language (UML)
Interaction diagrams
o Case scenarios (interactions between objects)
o Sequence diagram (temporal interaction)
Activity diagrams
o Simplified state-transition diagram (flow between activities)
o Equivalent to the MOT of MERISE
25
Unified Modeling Language (UML)
26
Unified Modeling Language (UML)
Use case diagram (example)
Log in
includes Send
Order
includes includes
Commander Seller
Prepare
Client extends includes Order
Add a
product Payer
27
Unified Modeling Language (UML)
Collaboration diagram
Definitions
o Diagram of objects and actors 1: message
with sending messages Object 1 Object 2
o Order of interaction (arrows
numbered)
2: message
Why?
o Describe the interactions and the links
among the objects making up the
système. Object 3
28
Unified Modeling Language (UML)
Submit CV
Cabinet
recruitment
Person in
research 3: Propose Candidate
employment
Company
29
Unified Modeling Language (UML)
Sequence diagram
Chronological representation of
message exchanges between the
different objects of the system. System
Describe the sequence of interactions between
Actor 1 Actor 2
the system and its actors.
Message1()
30
Unified Modeling Language (UML)
Sequence Diagram
Company system
Bank
aerial
Client
Enter destination (departure, arrival, date)
Debit confirmation
Reservation confirmed
Display flight ticket
31
8QLILHG
0RGHOLQJ
/DQJXDJH
80/
7KHSURFHVV
DSSURDFK
ZLWK
80/
8VHFDVHGLDJUDPV
R ,QWHUDFWLRQ
VLWXDWLRQ
EHWZHHQ
V\VWHPDQG
DFWRUV
R )XQFWLRQDO
VFHQDULRV
R 5HIHUHQFH
LQWKH
GHYHORSPHQW
F\FOH
IURP UHTXLUHPHQWV
WR
WHVWLQJ
R 8VHFDVHGLDJUDP
RYHUYLHZ
RILQWHUDFWLRQV
,QWHUDFWLRQ
GLDJUDPV
R &DVH
VFHQDULRV
LQWHUDFWLRQV
EHWZHHQ
REMHFWV
R 6HTXHQFH
GLDJUDP
WHPSRUDO
LQWHUDFWLRQ
$FWLYLW\
GLDJUDPV
R 6LPSOLILHG
VWDWHWUDQVLWLRQ
GLDJUDP
IORZ EHWZHHQ
DFWLYLWLHV
R (TXLYDOHQW
WR
WKH
027 RI0(5,6(
Unified Modeling Language (UML)
Activity diagram
(example)
33
Unified Modeling Language (UML)
Insert card
Valid code
from a banking terminal: Choose operation
. Insert map...
Enter amount
. Enter amount
Choose account
. …
Request
withdrawal authorization
unauthorized
authorized
Distribute tickets
Restore
map
34
Unified Modeling Language (UML)
State-transition diagram
Event 1 Event 2
State 1 State 2
State
Initial state Final state
intermediate
35
Unified Modeling Language (UML)
State Transition Diagram
36
UML and Processes
Points of view
. Everything is an object
37
BPMN: a process-oriented standard
Sequence flow
Activity
Sequence flow
Event Event
at the beginning of end
38
BPMN: Graphical representation
Flow objects
. Task, connection, event
Connection objects
activity chains, messages and associations
Artefacts
. data objects, groups, annotations.
BPMN: Graphic representation
Activity
Sub-process
+
BPMN: Example
41
BPMN: Example
42
BPMN: Exercise
43
BPMN and process
Viewpoints
. Processes/functions
44
Thank you for your
attention!
45
Petri nets are a modeling language represented as directed bipartite graphs consisting of places and transitions. Their primary function is to study the possible states of a system and size it for specific flow characteristics through simulations .
UML integrates interaction scenarios between systems and actors through use case diagrams, which outline the sequences of activities or actions in response to an actor's request. These scenarios serve to collect, analyze, and organize user needs, ensuring a common understanding of system functionalities and aiding in the design and testing phases of the development cycle .
SADT serves as an effective communication tool in project management by allowing for the visual representation of complex systems through actigrams and datagrams. This clarity aids teams in understanding system processes and functions, facilitates stakeholder communication for requirements expression, and assists management in monitoring project development .
BPMN focuses on graphically modeling any type of process with a clear and visual notation that accommodates business and technical views and allows for the management and automation of processes. UML, on the other hand, uses semi-formal diagrams to document system structures and behaviors, focusing more on object-oriented software design. BPMN is particularly oriented towards business process management with its straightforward formalism, while UML provides a broader framework applicable to multiple system domains .
Petri nets model dynamic aspects by representing places as conditions and transitions as events in processes like a wood cutting workshop. They simulate system activities, such as an order being cut or sent for delivery, allowing analysts to track and optimize system performance by depicting real-time process states and changes .
SADT aids in analyzing and understanding complex systems by providing a graphical method that describes the functional aspects of information systems. It uses hierarchical diagrams for system representation and serves as a communication tool for teams, clients, and management. This comprehensive approach allows for the clear conveyance of system purposes and functionalities .
BPMN facilitates the management and automation of business processes through its standardized notation that is easy for business analysts, developers, and managers to understand. It supports clear graphical representation of process flows and uses gateways for decision-making, making it suitable for process orchestration and choreography. Its distinctive features include swimlanes for role differentiation and the ability to depict complex business scenarios in an intuitive format .
Synchronization in the MERISE CTM refers to logical propositions like AND or OR, which dictate the conditions necessary to trigger operations within a system. It impacts system operations by ensuring that events or changes occur only when specific conditions are met, facilitating precise control over system activities and flow .
UML integrates static modeling elements through diagrams such as class and object diagrams that describe system structure. Dynamic elements are captured in use case, state, and activity diagrams which illustrate the interactions, states, and processes over time. This duality allows comprehensive representation and analysis of both the system architecture and behavior, facilitating better design and implementation .
The MERISE CDM provides a static representation by using entity-relationship diagrams that articulate entities, their attributes, and relationships. This model serves the purpose of offering a clear, understandable structure of the data within an infor...yzing information requirements and system design without engaging in implementation specifics, thereby aiding in effective data-oriented decision-making and system planning .