45
Prozessgetrieben Prozessgetrieben Mit BPMN und Activiti agil zur lauffähigen Software Nils Preusker, camunda services GmbH

20110311 activiti mathema

Embed Size (px)

Citation preview

Page 1: 20110311 activiti mathema

Prozessgetrieben Prozessgetrieben

Mit BPMN und Activiti agil zur lauffähigen Software

Nils Preusker, camunda services GmbH

Page 2: 20110311 activiti mathema

Schönen guten Tag!Schönen guten Tag!

Page 3: 20110311 activiti mathema

Diplom Medien InformatikerBerater, Trainer, Coach Nils PreuskerBerater, Trainer, CoachSoftwareentwickler

O S BPM“

[email protected]

„Open Source BPM“

Projekterfahrung: JEE und Spring Projekte, SOA-Architekturen, technische BPM Projekte

Activiti Cycle Core und GUI EntwicklungActiviti Cycle Core und GUI Entwicklung-> Committer bei Activiti

Bl il k dBlog: www.nilspreusker.de

Page 4: 20110311 activiti mathema

Sorry kurzer WerbeblockSorry, kurzer Werbeblock…

Page 5: 20110311 activiti mathema

camunda services GmbHcamunda services GmbH

Your • BPMBPMNBusiness

d

• BPMN• Agile• BRM

camundaBusiness Consulting

YourProcess

Application

YourProcess

Application

YourProcess

Applicationpp pp pp

camundaIT Consulting

Page 6: 20110311 activiti mathema

Ein paar ReferenzenEin paar Referenzen

Page 7: 20110311 activiti mathema

BPM ist unsere LeidenschaftBPM ist unsere Leidenschaft

Publikationen Influencing Member

Blogs & Communities Vorträge

Page 8: 20110311 activiti mathema

„Enablement“ by camunda„Enablement“ by camunda

Page 9: 20110311 activiti mathema

Geschafft!Geschafft!

Los geht’s mit ActivitiLos geht s mit Activiti

mit einem kleinen Beispiel...mit einem kleinen Beispiel.

Page 10: 20110311 activiti mathema

AnwendungsbeispielAnwendungsbeispiel

Page 11: 20110311 activiti mathema

Wie können wir das verhindern?Wie können wir das verhindern?

Page 12: 20110311 activiti mathema

Die Lösung: Der Twitter QA ProzessDie Lösung: Der Twitter QA Prozess

Page 13: 20110311 activiti mathema

DemoDemo

TwitterQA

Page 14: 20110311 activiti mathema

Wege rein und raus aus der EngineWege rein und raus aus der Engine

Java API, REST, Mule (WS), Spring

TestCase

u ( S), Sp g

SessionBean

Process Engine

Case

Web-Application Java, Scripting,

WS, Spring, Mule, …… Mule, …

JCA JMSEJB WSSpring

Page 15: 20110311 activiti mathema

ServicesServices

see Apidocs: http://www.activiti.org/javadocs/org/activiti/engine/package-summary.html

Page 16: 20110311 activiti mathema

Java Delegates: Service Task mit Java ClassJava Delegates: Service Task mit Java Class

<serviceTask id="SysoutService"name="SysoutService"activiti:class="...InsertIntoWebsitesDelegate"/>

Page 17: 20110311 activiti mathema

• Java Engine• Java Engine• Open Source (Apache 2.0)

POJO M B ti• POJO + MyBatis• „Library“ / „Framework“• Flexibel und Erweiterbar• BPMN 2.0• Projektstart 03/2010• 01.12.2010: Release 5.0 GA01.12.2010: Release 5.0 GA• Motivation Alfresco: jBPM Replacement

Page 18: 20110311 activiti mathema

Wer ist Activiti?Wer ist Activiti?

Page 19: 20110311 activiti mathema

Activiti Komponenten in der ÜbersichtActiviti Komponenten in der Übersicht

CycleExplorer Probe Modeler Designer

A ti iti

REST

C l M d l ActivitiEngine

CycleBackend

Modeler Backend

camunda fox

Database

camunda foxPlug-Ins

Database(H2, Oracle, MySQL, PostgresSQL, DB2)

MS SQL

Filesystem

MS-SQLgeplant

Page 20: 20110311 activiti mathema

Es gibt noch viel mehr…Es gibt noch viel mehr…

WebService-Support

Eclipse Designer

Spring Integration

Mule Integration

OSGI Fähigkeit

A ti iti & A h C l Activiti & Apache Camel

Drools Integration

Flexible Aufgabenzuweisungen Flexible Aufgabenzuweisungen

Page 21: 20110311 activiti mathema
Page 22: 20110311 activiti mathema

Business-IT-Alignment mit technischen Modellen?Business-IT-Alignment mit technischen Modellen?Here‘s your to-be-process, ready tod l C ld

Huh, looks complicated! Where is the part that‘sdeploy. Could you

please approve?Where is the part that s

my business?

Ehm it‘s here And there

I need gudielines for myprocess, where can I

Ehm, it s here. And there. And over there. Well

somehow, some stepsand decisions are

completely automated.

A d h t th

p ,find that?

Those parts won‘t beexecuted by the engine.

I cannot model them,

Yes but we need those

And what are thosesteps for? Nobody

specified them!

they‘d break the technical flow. Manager

approvingTweetsIT

Inconti-what!? This is just your coding again, and not my process!

steps. Otherwise we will get data inconsistencies in the process context.

Tweets

Ah, F***Y**!

I won‘t approve this.

Page 23: 20110311 activiti mathema

Das ist der Prozess, den der Manager sehen willDas ist der Prozess, den der Manager sehen will

Page 24: 20110311 activiti mathema

Big PictureBig Picture

Process Engine ist auch ein Teilnehmer

Verschiedene Teilnehmer

kollaborieren

Page 25: 20110311 activiti mathema

Tooling: Sichten im kommerziellen SignavioTooling: Sichten im kommerziellen Signavio

Page 26: 20110311 activiti mathema

Tooling: SichtenTooling: Sichten

Page 27: 20110311 activiti mathema

Auch für die TechnikAuch für die Technik

Page 28: 20110311 activiti mathema

Mögliche ToolketteMögliche Toolkette

…? …?

DeveloperAnalystBusiness User DeveloperAnalystBusiness User

Page 29: 20110311 activiti mathema

Activiti Cycle und RepositoriesActiviti Cycle und Repositories VerschiedensteD t llDatenquellen

möglich

+ YOURReposRepos…

Page 30: 20110311 activiti mathema

Easy extensability via PluginsEasy extensability via Plugins

Plugin(e.g. jBPM 3) Use annotations for

Plugin Descriptionsand drop jars into

jBPM 3p j

classpath

Page 31: 20110311 activiti mathema

Beispiel: BPMN-Diagramme in JIRA-IssueBeispiel: BPMN-Diagramme in JIRA-Issue

Page 32: 20110311 activiti mathema

Cycle Plug-In Exchange @ camunda foxCycle Plug-In Exchange @ camunda fox

Page 33: 20110311 activiti mathema

Konkret: Entwicklungsvorgehen mit Activiti CycleKonkret: Entwicklungsvorgehen mit Activiti Cycle

Entwicklung

??ProcessAnalyst

Page 34: 20110311 activiti mathema

Ein mögliches VorgehenEin mögliches Vorgehen

Page 35: 20110311 activiti mathema

The whole processThe whole process

seehttp://docs.codehaus.org/display/ACT/Process+authoring+story+boards

Page 36: 20110311 activiti mathema

„Process Solutions“„Process Solutions“

Page 37: 20110311 activiti mathema

Was uns wichtig ist…Was uns wichtig ist…

• Developer-Friendliness over Zero Coding

• Smart Communication over Single-Source-Models

• Composite Architectures over one-stop-shops

• Open Source over Out-of-the-Box

Page 38: 20110311 activiti mathema

Activiti – Roadmap & CommunityActiviti – Roadmap & Community

Kurzfristig Community-Driven

- Stabilisierung & Vervollständigung

- Durchgängige Toolkette - Cycle Story

- Tooling?- BPMN?- Reporting? - jBPM 3 Migration, …Cycle Story jBPM 3 Migration, …

Kurzfristig (Q1/2011) Mittel-/Langfristigg (Q / ) / g g

Page 39: 20110311 activiti mathema

Erste PraxiserfahrungenErste PraxiserfahrungenDas Activiti-Training der camunda war eine sehr Das Activiti Training der camunda war eine sehr hilfreiche Einführung. Wir haben nicht nur gelernt, wie und warum man diese Plattform einsetzen sollte, sondern auch viele Tricks und Kniffe aus der Praxis der Prozessautomatisierung erfahren. D d h hi l i hl i d ä li h Dadurch erhielten wir sowohl eine grundsätzliche Orientierung, als auch die Befähigung, mit Activiti sofort loslegen zu können.

Matthias MeyerMatthias MeyerCKC AG

Der Workshop hat uns in unserer Entscheidung Der Workshop hat uns in unserer Entscheidung bestätigt, ein Workflow-System in unser System zu integrieren und keine Eigenimplementierung unserer integrierten Prozesse vorzunehmen. Während des Workshops haben wir einen sehr pguten Einblick in BPMN 2.0 und insbesondere Activiti bekommen. Hier wurden wir auch bestärkt, dass wir mit Activiti ein leistungsfähiges Framework an die Hand bekommen und die Integ ation dank de Unte stüt ng on Cam ndaIntegration dank der Unterstützung von Camundaauch ohne größere Probleme klappen wird. Der Workshop hat unsere Erwartungen absolut erfüllt.

Tobias Hilka, Vice President Application Tobias Hilka, Vice President Application Software Developmentvps ID Systeme GmbH

Page 40: 20110311 activiti mathema

Also: Anfangen!Also: Anfangen!Activiti Showcase & Demos: www.bpm-guide.defox.camunda.com

Activiti Website:www activiti orgwww.activiti.org

Java Magazin Artikel

Training Beratung und professioneller Support von camunda :-)camunda : )

Page 41: 20110311 activiti mathema

Deutsche User GroupDeutsche User Group

Page 42: 20110311 activiti mathema

Bald auch…Bald auch…

Page 43: 20110311 activiti mathema

Typische Unterstützung von uns zum Start…Typische Unterstützung von uns zum Start…

Initial-Workshopoder Training

1-3 Tage

Coaching

5-50 Tage

Support

kontinuierlichg

Activiti und BPMN kennenlernenEvaluierung und

g

Begleitende Beratung

Schulungen

Verfügbarkeit per Telefon/Email

Activiti und BPMNVergleich mit anderen LösungenDiskussion desVorhabens und der

f d

Prototyping

Proof of Concept

Activiti und BPMN

Release-Briefings

Einfluss auf Features AnforderungenDefinition eines sinnvollen Stacks und Architektur

Ggf. Realisierungen (Priorität und Committs)

Page 44: 20110311 activiti mathema

Vielen Dank! Fragen?Vielen Dank! Fragen?

Page 45: 20110311 activiti mathema

Vielen Dank!Vielen Dank!camunda services GmbHZossener Str. 55-58Vielen Dank!Vielen Dank! Zossener Str. 55 5810961 Berlin

Telefon: +49 30 664 0409-00Telefax: +49 30 664 0409-29

Email: [email protected] @

Consultant Trainer Developer

Nils Preusker

@camunda.com

Consultant, Trainer, Developer

Nils.preusker

MATHEMA Campus

Der Praxis-Blog zu BPM:

MATHEMA Campus

Erlangen, 11.03.2011

www.bpm-guide.de