20
Java Entwickler Prozess- automatisierung [email protected] = Workflow BPMN, BPEL, Process Server, Activiti, jBPM, …

BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,[email protected] = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

  • Upload
    others

  • View
    54

  • Download
    0

Embed Size (px)

Citation preview

Page 1: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Java Entwickler

Prozess-automatisierung

[email protected]

= Workflow

BPMN, BPEL, Process Server, Activiti, jBPM, …

Page 2: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Was ist Prozessautomatisierung?

Page 3: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Das Ganze ist ein BPMN Prozess Als Showcase

für camunda fox online verfügbar

Page 4: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

<process id="invoice" isExecutable="true">

<startEvent name="Rechnung eingegangen" />

<userTask name="Rechnung freigeben" />

<exclusiveGateway name="Freigabe erfolgt?"

...

Aufgaben-

ZuweisungService-Call Service-Call

Aufgaben-

Zuweisung

Process Engine

Prozessbeteiligter IT-System IT-System Prozessbeteiligter

Messung der

Durchlaufzeit

Monitoring und Reporting

Prozessautomatisierung mit Process Engine

Ausführbares Prozessmodell

Human Workflow Management

Service Orchestration

Page 5: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Engines & BPMN sind mächtig Showcases

für camunda fox + Camel / Mule

Page 6: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Engines & BPMN sind mächtig Showcases

für camunda fox + Camel / Mule

Page 7: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Der Prozess wird sichtbar …im Code…

…und im Fachbereich…

Page 8: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Gemeinsame Sprache und iteratives Vorgehen

Ebene 2

Operatives Prozessmodell

Ebene 3a

Technisches

Prozessmodell

Ebene 1

Strategisches

Prozessmodell

Ebene 3b

IT-Spezifikation

Ebene 4b

Implementierung

Prozesslandschaft

Inhalt: Prozess im Überblick

Ziel: Schnelles Verständnis

Semantik: logisch-abstrakt

Inhalt: Operative Abläufe

Ziel: Abstimmung von Details

Semantik: physisch-konkret

Inhalt: Technische Details

Ziel: Umsetzung

Semantik: physisch-konkret

Fachlich

(Business)

Technisch

(IT)

Mit Process Engine

Ohne Process Engine

Page 9: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Missverständnisse & Fehler

WRONG

Page 10: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Missverständnisse & Fehler

WRONG

Page 11: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung
Page 12: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Daher kommt unsere Vision

BPM + Java

Page 13: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Some code

@Inject

private ProcessEngine engine;

[…]

Deployment deployment = engine.getRepositoryService()

.createDeployment()

.addClasspathResource("diagrams/fox-invoice.bpmn")

.deploy();

engine.getRuntimeService().startProcessInstanceByKey("fox-invoice");

List<Task> list = engine.getTaskService().createTaskQuery().list();

HashMap<String, Object> variables = new HashMap<String, Object>();

variables.put("approver", "bernd");

engine.getTaskService().complete(list.get(0).getId(), variables);

CDI / Spring (if you want)

Services to talk to the engine

Use TX / JTA / EJB

(if you want)

Page 14: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Some code

<process ...>

<serviceTask activiti:delegateExpression="#{svnService}"

name="PDF in SVN ablegen">

Process XML refers CDI/Spring bean

or Java Class

Code is executed when process instances runs

through

@Named("svnService")

public class StorePDFDelegate implements JavaDelegate {

public void execute(DelegateExecution execution) throws Exception {

String someData = (String) execution.getVariable("someData");

Page 15: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Best of breed

Java EE 6 Persistenz (JPA), Transaktionen (JTA, EJB3), Clustering, Connectivity (JAX-WS, JAX-RS, JAX-B), UI (JSF), …

camunda fox Prozessautomatisierung, Monitoring, Operations, …

BPMN 2.0 Prozessmodellierung, fachliche Abstimmung, Roundtrip, …

You name it! Beliebige Komponenten aus dem (Java) Kosmos.

Page 16: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

DB (H2)

fox platform fox engine

fox-platform auf JBoss 7.1

JBoss AS 7.1

Application 1

Application n

fox-cockpit: Monitoring &

Administration

...

WAR

BPMN 2.0 Standard

Java / Java EE Standard

camunda fox

Page 17: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Activiti Alfresco

ECM

fox-engine

fox-platform community

fox-platform enterprise

fox-cycle

fox-modeler

fox-designer fox-cockpit

Branch

OSS (Apache License)

Enterprise Edition

Page 18: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

BPM in a can

BPM cook-it-yourself

Page 19: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Quelle: Zitty, Berlin

Page 20: BPMN, BPEL, Process = Workflow Server, Activiti, jBPM,...bernd.ruecker@camunda.com = Workflow BPMN, BPEL, Process Server, Activiti, ... Monitoring und Reporting Prozessautomatisierung

Die Zeit ist reif http://www.camunda.com/fox/getting-started/