Processes: First Contact<br />Author: František Kocun <br />Reviewer: Ján Všetečka<br />
Contents<br />Use of processes<br />Process definition<br />BPMN<br />Relationship to the state machine<br />2 x example<b...
Where are the processes used?<br />What is the difference between inter- and intra- application process?<br />What technol...
Use of processes<br />Inter application<br />coordination of several existing applications (IS)<br />Intra application<br ...
Inter application processes - EAI<br />Integration several IS<br />Example – process Salary accounting<br />Accounting sys...
Intraapplication processes<br /><ul><li>Coordination of work between the users</li></ul>Example – process of Vacation appr...
What is a process?<br />What is a process application?<br />Process definition<br />
What is a process<br />„A collection of related, structured activities or tasks to achieve a specific goal“<br />“Business...
Process definition and process instance<br />Relation between process definition and process instance is similar to the re...
Process definition and process instance<br />Interview<br />Review<br />JobApplicationBusinessProcess<br />Workflow<br />I...
Process language describes<br />Flow<br />Sequence of activities<br />Data<br />What data the process is using<br />Resour...
Example of simple process<br />Requirement: John wants Mike to approve his vacation request<br />How does John tell Mike t...
Entity: request<br />Task: create request<br />Entity: employee<br />Peter<br />John<br />Task: approve request<br />Mike<...
Process application<br />In process application business processes are modeled<br />Process engine executes process instan...
Summary<br />Main purpose of process engine – to achieve specified goal by transparent distribution of work between the pe...
Do we need them both?<br />State machine vs. Process<br />
State machine<br />Principles<br />State machine controls the state (value of state attribute) of a single entity (that is...
Relationship between state machine and process<br />State machine controls the value of a single attribute in entity<br />...
Relationship between state machine and process<br />State machine<br />Process<br />
BPMN<br />Business process modeling and notation<br />
BPMN<br />The most used language for business process modeling<br />OMG standard<br />Just like UML, XMI, MDA<br />Consort...
Core BPMN elements<br />
The simplest process<br />Example 0<br />
The simplest process<br />Send a message to a selected user<br />Peter Gašparovič<br />
The simplest process - model<br />
Document approval<br />Example1<br />
Document approval<br />Author creates a document<br />Author can edit the document until it is sent on approval<br />Revie...
Document approval- diagram<br />Author<br />Send for approval<br />Document creation<br />Company for creating documents<b...
Why use process engine?<br />What are the advantages for the users?<br />Where should we pay attention?<br />Pros and cons...
Pros<br />For SW developer<br />Code comprehensibility- joint of business logic to bigger pieces than transactions/server ...
BAM a BI<br /><ul><li>BAM (Business activity monitor) - online monitoring</li></ul>If three Tasks have been canceled in a ...
Risk<br /><ul><li>Wrong modeled processes
Little examples - proof of concept on a big projects </li></ul>	(this applies for our company)<br /><ul><li>Updating proce...
Upcoming SlideShare
Loading in …5
×

Procesy pads en

2,165 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,165
On SlideShare
0
From Embeds
0
Number of Embeds
1,308
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Procesy pads en

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

×