SlideShare a Scribd company logo
Processes: First Contact Author: František Kocun  Reviewer: Ján Všetečka
Contents Use of processes Process definition BPMN Relationship to the state machine 2 x example Pros and cons
Where are the processes used? What is the difference between inter- and intra- application process? What technologies are used? Use of processes
Use of processes Inter application coordination of several existing applications (IS) Intra application coordination of work between the users of a single application
Inter application processes - EAI Integration several IS Example – process Salary accounting Accounting system Work planning system Attendance records Bank payment system ESB Process Repository Process engine Technologies: WS, SOAP, BPEL, ESB
Intraapplication processes ,[object Object],Example – process of Vacation approval Mike (John’s manager) John Application Attendance records module DB Processengine Technologies: process engine in language of application, Task Management system
What is a process? What is a process application? Process definition
What is a process „A collection of related, structured activities or tasks to achieve a specific goal“ “Business processes don't represent things the business object is doing, rather things being done to the business object.”* *More about this subtle but it very important difference.  http://devhawk.net/2004/01/30/SOA+Vs+OO+In+Business+Process.aspx
Process definition and process instance Relation between process definition and process instance is similar to the relation between the class and its instance Process definition specifies the paths whose the process instance can take Every process instance takes its own path55% Process definition: Job application business process Instance 1: John is waiting for the interview Instance 2: Peter already had an interview, and the record from the interview was sent to his future manager to review Instance 3: Xenia’s work contract has to be approved by the division manager
Process definition and process instance Interview Review JobApplicationBusinessProcess Workflow Init Process diagram is 2D. Process instance are 3D. Same as an UML class diagram is 2D and an object diagram is 3D.
Process language describes Flow Sequence of activities Data What data the process is using Resource Who will carry out the activity Insurance contract Accident record Expert testimony EXPERT REVIEWER
Example of simple process Requirement: John wants Mike to approve his vacation request How does John tell Mike that exactly this vacation request he wants to approve?
Entity: request Task: create request Entity: employee Peter John Task: approve request Mike
Process application In process application business processes are modeled Process engine executes process instance in that way that according to the process definition it allocates tasks to systems and users
Summary Main purpose of process engine – to achieve specified goal by transparent distribution of work between the people and the systems Process can reference entities (0 and more entities). Work is distributes in form of tasks.
Do we need them both? State machine vs. Process
State machine Principles State machine controls the state (value of state attribute) of a single entity (that is single instance of EntityClass) State machine is represented by state  attribute State attribute is attribute of type Enum with controlled life cycle
Relationship between state machine and process State machine controls the value of a single attribute in entity Process engine moves entities between the users of a system In a single process instance can figure more entities with the state machine, every in different state State attribute is used for inter process communication because entity can figure in multiple process instances
Relationship between state machine and process State machine Process
BPMN Business process modeling and notation
BPMN The most used language for business process modeling OMG standard Just like UML, XMI, MDA Consortium of companies: Microsoft, IBM, HP, Sun, Apple...
Core BPMN elements
The simplest process Example 0
The simplest process Send a message to a selected user Peter Gašparovič
The simplest process - model
Document approval Example1
Document approval Author creates a document Author can edit the document until it is sent on approval Reviewer can approve or reject the document If reviewer approves the document it gets published
Document approval- diagram Author Send for approval Document creation Company for creating documents Reject Reviewer Approve Approve Publish System
Why use process engine? What are the advantages for the users? Where should we pay attention? Pros and cons
Pros For SW developer Code comprehensibility- joint of business logic to bigger pieces than transactions/server calls Analysis comprehensibility- joint of business logic to bigger pieces than use-cases Consistent authorization Separation of entities life cycles and processes, easier to change logic For SW user Process versioning (multiple concurrent version of same process) Process console for process management Necessity to map processes in analysis(without use of process engine it was optional, with its use it is necessity) Visualization of process instances BAM a BI
BAM a BI ,[object Object],If three Tasks have been canceled in a row If four invoices were creates with the price more than 5000EUR in a single day ,[object Object],Who is the most effective user (who ends the most Tasks) Who ends the fastest the Task of specific type Which process is most used What is average duration of this process What is the rate of successfully finished processes Use Routing on the base of process history (e.g. Tasks are allocated to the most effective user, or to the user which has the least work..) Reports
Risk ,[object Object]
Little examples - proof of concept on a big projects 	(this applies for our company) ,[object Object]

More Related Content

Similar to Procesy pads en

[uengine.org] (kor) uEngine BPM Product Intro
[uengine.org] (kor) uEngine BPM Product Intro[uengine.org] (kor) uEngine BPM Product Intro
[uengine.org] (kor) uEngine BPM Product Intro
Hannah Kim
 
Workflow and BPM in the New Enterprise Architecture
Workflow and BPM in the New Enterprise ArchitectureWorkflow and BPM in the New Enterprise Architecture
Workflow and BPM in the New Enterprise Architecture
Nathaniel Palmer
 
TechDays 2010 Portugal - Event Driven Architectures - 16x9
TechDays 2010 Portugal - Event Driven Architectures - 16x9TechDays 2010 Portugal - Event Driven Architectures - 16x9
TechDays 2010 Portugal - Event Driven Architectures - 16x9
Nuno Godinho
 
Carasik BPM ECM
Carasik BPM ECMCarasik BPM ECM
Carasik BPM ECM
Bob Carasik
 
Bpm Hype Of Hulp Gemeente Amsterdam April 2009
Bpm Hype Of Hulp Gemeente Amsterdam April 2009Bpm Hype Of Hulp Gemeente Amsterdam April 2009
Architecting Enterprise BPM Systems for Optimal Agility
Architecting Enterprise BPM Systems for Optimal AgilityArchitecting Enterprise BPM Systems for Optimal Agility
Architecting Enterprise BPM Systems for Optimal Agility
Nathaniel Palmer
 
LotusSphere 2010 - Leveraging IBM Lotus® Forms™ with IBM WebSphere® Process S...
LotusSphere 2010 - Leveraging IBM Lotus® Forms™ with IBM WebSphere® Process S...LotusSphere 2010 - Leveraging IBM Lotus® Forms™ with IBM WebSphere® Process S...
LotusSphere 2010 - Leveraging IBM Lotus® Forms™ with IBM WebSphere® Process S...
ddrschiw
 
BPM tools
BPM toolsBPM tools
Codecamp iasi-26 nov 2011-the value of bpm in real world applications
Codecamp iasi-26 nov 2011-the value of bpm in real world applicationsCodecamp iasi-26 nov 2011-the value of bpm in real world applications
Codecamp iasi-26 nov 2011-the value of bpm in real world applications
Codecamp Romania
 
User Interface Derivation from Business Processes: A Model-Driven Approach fo...
User Interface Derivation from Business Processes: A Model-Driven Approach fo...User Interface Derivation from Business Processes: A Model-Driven Approach fo...
User Interface Derivation from Business Processes: A Model-Driven Approach fo...
Jean Vanderdonckt
 
Flexible Custom Workflows for Banner ERP and the Campus
Flexible Custom Workflows for Banner ERP and the CampusFlexible Custom Workflows for Banner ERP and the Campus
Flexible Custom Workflows for Banner ERP and the Campus
Bonitasoft
 
Mashups and Business Process Management in SOA
Mashups and Business Process Management in SOAMashups and Business Process Management in SOA
Mashups and Business Process Management in SOA
WSO2
 
BPM - What is next
BPM - What is nextBPM - What is next
BPM - What is next
Denis Gagné
 
Practical operability techniques for teams - Matthew Skelton - Agile in the C...
Practical operability techniques for teams - Matthew Skelton - Agile in the C...Practical operability techniques for teams - Matthew Skelton - Agile in the C...
Practical operability techniques for teams - Matthew Skelton - Agile in the C...
Skelton Thatcher Consulting Ltd
 
Primer Business Process Management
Primer   Business Process ManagementPrimer   Business Process Management
Primer Business Process Management
Neil Wilson
 
Practical operability techniques for distributed systems - Velocity EU 2017
Practical operability techniques for distributed systems - Velocity EU 2017Practical operability techniques for distributed systems - Velocity EU 2017
Practical operability techniques for distributed systems - Velocity EU 2017
Skelton Thatcher Consulting Ltd
 
Jon Pyke Keynote Address
Jon Pyke Keynote AddressJon Pyke Keynote Address
Jon Pyke Keynote Address
Nathaniel Palmer
 
Demystifying BPM
Demystifying BPMDemystifying BPM
Demystifying BPM
Tony Caniglia
 
What is bpm and why lombardi eng
What is bpm and why lombardi   engWhat is bpm and why lombardi   eng
What is bpm and why lombardi eng
Yuval Birenboum
 
A Business Process-Centric Approach To Financial Transactions
A Business Process-Centric Approach To Financial TransactionsA Business Process-Centric Approach To Financial Transactions
A Business Process-Centric Approach To Financial Transactions
corbanmiferreira
 

Similar to Procesy pads en (20)

[uengine.org] (kor) uEngine BPM Product Intro
[uengine.org] (kor) uEngine BPM Product Intro[uengine.org] (kor) uEngine BPM Product Intro
[uengine.org] (kor) uEngine BPM Product Intro
 
Workflow and BPM in the New Enterprise Architecture
Workflow and BPM in the New Enterprise ArchitectureWorkflow and BPM in the New Enterprise Architecture
Workflow and BPM in the New Enterprise Architecture
 
TechDays 2010 Portugal - Event Driven Architectures - 16x9
TechDays 2010 Portugal - Event Driven Architectures - 16x9TechDays 2010 Portugal - Event Driven Architectures - 16x9
TechDays 2010 Portugal - Event Driven Architectures - 16x9
 
Carasik BPM ECM
Carasik BPM ECMCarasik BPM ECM
Carasik BPM ECM
 
Bpm Hype Of Hulp Gemeente Amsterdam April 2009
Bpm Hype Of Hulp Gemeente Amsterdam April 2009Bpm Hype Of Hulp Gemeente Amsterdam April 2009
Bpm Hype Of Hulp Gemeente Amsterdam April 2009
 
Architecting Enterprise BPM Systems for Optimal Agility
Architecting Enterprise BPM Systems for Optimal AgilityArchitecting Enterprise BPM Systems for Optimal Agility
Architecting Enterprise BPM Systems for Optimal Agility
 
LotusSphere 2010 - Leveraging IBM Lotus® Forms™ with IBM WebSphere® Process S...
LotusSphere 2010 - Leveraging IBM Lotus® Forms™ with IBM WebSphere® Process S...LotusSphere 2010 - Leveraging IBM Lotus® Forms™ with IBM WebSphere® Process S...
LotusSphere 2010 - Leveraging IBM Lotus® Forms™ with IBM WebSphere® Process S...
 
BPM tools
BPM toolsBPM tools
BPM tools
 
Codecamp iasi-26 nov 2011-the value of bpm in real world applications
Codecamp iasi-26 nov 2011-the value of bpm in real world applicationsCodecamp iasi-26 nov 2011-the value of bpm in real world applications
Codecamp iasi-26 nov 2011-the value of bpm in real world applications
 
User Interface Derivation from Business Processes: A Model-Driven Approach fo...
User Interface Derivation from Business Processes: A Model-Driven Approach fo...User Interface Derivation from Business Processes: A Model-Driven Approach fo...
User Interface Derivation from Business Processes: A Model-Driven Approach fo...
 
Flexible Custom Workflows for Banner ERP and the Campus
Flexible Custom Workflows for Banner ERP and the CampusFlexible Custom Workflows for Banner ERP and the Campus
Flexible Custom Workflows for Banner ERP and the Campus
 
Mashups and Business Process Management in SOA
Mashups and Business Process Management in SOAMashups and Business Process Management in SOA
Mashups and Business Process Management in SOA
 
BPM - What is next
BPM - What is nextBPM - What is next
BPM - What is next
 
Practical operability techniques for teams - Matthew Skelton - Agile in the C...
Practical operability techniques for teams - Matthew Skelton - Agile in the C...Practical operability techniques for teams - Matthew Skelton - Agile in the C...
Practical operability techniques for teams - Matthew Skelton - Agile in the C...
 
Primer Business Process Management
Primer   Business Process ManagementPrimer   Business Process Management
Primer Business Process Management
 
Practical operability techniques for distributed systems - Velocity EU 2017
Practical operability techniques for distributed systems - Velocity EU 2017Practical operability techniques for distributed systems - Velocity EU 2017
Practical operability techniques for distributed systems - Velocity EU 2017
 
Jon Pyke Keynote Address
Jon Pyke Keynote AddressJon Pyke Keynote Address
Jon Pyke Keynote Address
 
Demystifying BPM
Demystifying BPMDemystifying BPM
Demystifying BPM
 
What is bpm and why lombardi eng
What is bpm and why lombardi   engWhat is bpm and why lombardi   eng
What is bpm and why lombardi eng
 
A Business Process-Centric Approach To Financial Transactions
A Business Process-Centric Approach To Financial TransactionsA Business Process-Centric Approach To Financial Transactions
A Business Process-Centric Approach To Financial Transactions
 

Recently uploaded

“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Zilliz
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 

Recently uploaded (20)

“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 

Procesy pads en

  • 1. Processes: First Contact Author: František Kocun Reviewer: Ján Všetečka
  • 2. Contents Use of processes Process definition BPMN Relationship to the state machine 2 x example Pros and cons
  • 3. Where are the processes used? What is the difference between inter- and intra- application process? What technologies are used? Use of processes
  • 4. Use of processes Inter application coordination of several existing applications (IS) Intra application coordination of work between the users of a single application
  • 5. Inter application processes - EAI Integration several IS Example – process Salary accounting Accounting system Work planning system Attendance records Bank payment system ESB Process Repository Process engine Technologies: WS, SOAP, BPEL, ESB
  • 6.
  • 7. What is a process? What is a process application? Process definition
  • 8. What is a process „A collection of related, structured activities or tasks to achieve a specific goal“ “Business processes don't represent things the business object is doing, rather things being done to the business object.”* *More about this subtle but it very important difference. http://devhawk.net/2004/01/30/SOA+Vs+OO+In+Business+Process.aspx
  • 9. Process definition and process instance Relation between process definition and process instance is similar to the relation between the class and its instance Process definition specifies the paths whose the process instance can take Every process instance takes its own path55% Process definition: Job application business process Instance 1: John is waiting for the interview Instance 2: Peter already had an interview, and the record from the interview was sent to his future manager to review Instance 3: Xenia’s work contract has to be approved by the division manager
  • 10. Process definition and process instance Interview Review JobApplicationBusinessProcess Workflow Init Process diagram is 2D. Process instance are 3D. Same as an UML class diagram is 2D and an object diagram is 3D.
  • 11. Process language describes Flow Sequence of activities Data What data the process is using Resource Who will carry out the activity Insurance contract Accident record Expert testimony EXPERT REVIEWER
  • 12. Example of simple process Requirement: John wants Mike to approve his vacation request How does John tell Mike that exactly this vacation request he wants to approve?
  • 13. Entity: request Task: create request Entity: employee Peter John Task: approve request Mike
  • 14. Process application In process application business processes are modeled Process engine executes process instance in that way that according to the process definition it allocates tasks to systems and users
  • 15. Summary Main purpose of process engine – to achieve specified goal by transparent distribution of work between the people and the systems Process can reference entities (0 and more entities). Work is distributes in form of tasks.
  • 16. Do we need them both? State machine vs. Process
  • 17. State machine Principles State machine controls the state (value of state attribute) of a single entity (that is single instance of EntityClass) State machine is represented by state attribute State attribute is attribute of type Enum with controlled life cycle
  • 18. Relationship between state machine and process State machine controls the value of a single attribute in entity Process engine moves entities between the users of a system In a single process instance can figure more entities with the state machine, every in different state State attribute is used for inter process communication because entity can figure in multiple process instances
  • 19. Relationship between state machine and process State machine Process
  • 20. BPMN Business process modeling and notation
  • 21. BPMN The most used language for business process modeling OMG standard Just like UML, XMI, MDA Consortium of companies: Microsoft, IBM, HP, Sun, Apple...
  • 23. The simplest process Example 0
  • 24. The simplest process Send a message to a selected user Peter Gašparovič
  • 27. Document approval Author creates a document Author can edit the document until it is sent on approval Reviewer can approve or reject the document If reviewer approves the document it gets published
  • 28. Document approval- diagram Author Send for approval Document creation Company for creating documents Reject Reviewer Approve Approve Publish System
  • 29. Why use process engine? What are the advantages for the users? Where should we pay attention? Pros and cons
  • 30. Pros For SW developer Code comprehensibility- joint of business logic to bigger pieces than transactions/server calls Analysis comprehensibility- joint of business logic to bigger pieces than use-cases Consistent authorization Separation of entities life cycles and processes, easier to change logic For SW user Process versioning (multiple concurrent version of same process) Process console for process management Necessity to map processes in analysis(without use of process engine it was optional, with its use it is necessity) Visualization of process instances BAM a BI
  • 31.
  • 32.
  • 33.
  • 34. Explore the way to connect with client (this applies for our company)Navigation is now only in one direction “processes -> entities” Tasks/process filtering just on its type (and user) (filtering on attributes of Tasks just like entities will be soon done:)
  • 35. D end Time for questions