![Page 1: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/1.jpg)
BPMN 2.0
The Flowable story
![Page 2: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/2.jpg)
► Ante Klisovć - Team lead i developer sa dugogodišnjim iskustvom razvoja u .Net-u.Započeo je karijeru sa razvojem custom enterprise aplikacijama i usmjerio karijeru prema izradama aplikacija u teškoj industriji.
► Simon Šporer - Tech lead i developer sa dugogodišnjim iskustvom razvoja u Javi, od jednostavnih do enterprise level aplikacija. Radi već nekoliko godina u Serengetiju gdje vodi projekte, podučava i mentorira mlađe naraštaje.
![Page 3: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/3.jpg)
Business Process Model and NotationBusiness Process Model and Notation is a graphical representation for specifying
business processes in a business process model. Business Process Management
Initiative developed BPMN, which has been maintained by the Object Management
Group since the two organizations merged in 2005
![Page 4: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/4.jpg)
5 osnovnih kategorija grafičkih elemenata:
► Objekti za kreiranje toka procesa
► Objekti za povezivanje elemenata
► Podatkovni elementi
► Elementi za grupiranje
► Artefakti
![Page 5: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/5.jpg)
Tri skupine objekata za kreiranje toka
procesa:
► Događaji (engl. Events) –
► Aktivnosti (engl. Activities) –
![Page 6: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/6.jpg)
► Grananja (engl. Gateways) –postoji više vrsta
![Page 7: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/7.jpg)
Objekti za povezivanje elementa
► Sekvencijski tok
► Tok sa porukom
► Asocijativni tok
![Page 8: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/8.jpg)
Podatkovni elementi
![Page 9: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/9.jpg)
BPM događaji
► Međudogađaji – intermediate i boundary eventi
► Cancel eventi
► Cancel end event (unutar taska)
► Cancel boundary event ( pozicionirani na granici taska)
► 60 vrsta događaja
![Page 10: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/10.jpg)
Vrste događaja – Events
![Page 11: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/11.jpg)
Elementi za grupiranje
![Page 12: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/12.jpg)
Artefakti
Tekstualna Anotacija Grupa
![Page 13: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/13.jpg)
Primjer grafikona
![Page 14: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/14.jpg)
![Page 15: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/15.jpg)
► Light-weight business process engine napisan u Javi.
► https://www.flowable.org
► https://github.com/flowable/flowable-engine
![Page 16: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/16.jpg)
IDM – Identity Management Modeler
Task App Admin
![Page 17: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/17.jpg)
Koncept – core engine
BPMN Process
definitionProcess
instanceTask
![Page 18: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/18.jpg)
RepositoryService
RepositoryService repositoryService =
processEngine.getRepositoryService();
repositoryService.createDeployment()
.addClasspathResource(„primjer.bpmn20.xml").deploy();
![Page 19: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/19.jpg)
RuntimeService
RuntimeService runtimeService =
processEngine.getRuntimeService();
Map<String, Object> variables = new HashMap<String,
Object>();
ProcessInstance processInstance =
runtimeService.startProcessInstanceByKey(„primjer",
variables);
![Page 20: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/20.jpg)
TaskService
TaskService taskService = processEngine.getTaskService();
variables = new HashMap<String, Object>();
variables.put("approved", true);
taskService.complete(task.getId(), variables);
![Page 21: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/21.jpg)
Java Delegate
package org.flowable;
import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;
public class CallExternalSystemDelegate implements JavaDelegate {
public void execute(DelegateExecution execution) {
...
}
}
![Page 22: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/22.jpg)
Services
![Page 23: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/23.jpg)
Strengths
Gotovo rješenjeDinamičko generiranje procesa
Weakness
Kompleksnost konfiguracije
Opportunities
Vlastita aplikacija na bazi gotovog engine-a
Threats
Bazira se na hibernate query-ima
![Page 24: BPMN 2 - 2019.javacro.hr-+S… · Business Process Management Initiative developed BPMN, which has been maintained by the Object Management Group since the two organizations merged](https://reader030.vdocuments.us/reader030/viewer/2022040308/5edcbd67ad6a402d66678931/html5/thumbnails/24.jpg)
Reference
► https://camunda.com/bpmn
► https://www.flowable.org/documentation.html