Camunda BPM 7.2 
Release Webinar
Your hosts for today 
Daniel Meyer 
Technical Lead 
Jakob Freund 
CEO
Do you already use Camunda? 
No answer; 45; 8% 
Not at all; 166; 32% 
we're evaluating; 174; 33% 
we're developing; 83; 16% 
we're in production; 58; 11%
Why do you use Camunda? 
Reasons: 
•Executes BPMN 2.0 
•Best option for Java 
•is Open Source 
Advantages: 
•Stanardized technologies and Skills 
•More flexible 
•Easier, quicker development 
•cost-effective 
Also trusted by:
Camunda 7.2 Statistics 
April 1st –Nov 30th 
~ 1,700 person days 
Features; 209; 33% 
Bugs; 203; 33% 
Tasks; 211; 34%
Camunda BPM 7.2 
•Performance / Scalability 
•Tasklist 
•Connectors / Data / Scripts / Templates 
•CMMN
Camunda BPM 7.2 
•Performance / Scalability 
•Tasklist 
•Connectors / Data / Scripts / Templates 
•CMMN
Performance / Scalability 
•Camunda BPM is increasingly used in High-Load Situations 
•A „high-load situation“ starts at ~10 instantiated processes per Second 
•Some Customers run Camunda with > 1,000 Process Instances per Second 
•This means we continuously improve the performance and scalability 
•Execute process instances in a short amount of time 
•Support load balancing in Clusters 
•Prepare Camunda for alternative storage strategies (No SQL, In Memory etc.)
Camunda 7.1 (!) compared to JBoss jBPM 6 
More Information: http://camunda.com/landing/whitepaper-camunda-jbpm 
In our tests, Camunda‘s throughput was 10x –30x higher than with JBoss jBPM.
Performance Improvements in 7.2 
•Improved First Level Cache (throughput increased by up to 90%) 
•Improved Load Balancing for Cluster Mode 
•Log Level for History can be configured 
•Minimize Risk of Deadlocks in High-Load Situations
Camunda BPM 7.2 
•Performance / Scalability 
•Tasklist 
•Connectors / Data / Scripts / Templates 
•CMMN
What isTasklist?
Tasklist 7.2 
In collaboration with 
“The tasklist is the central point of contact for business users with the BPM platform and is therefore an essential component. The innovative implementation of the Camunda tasklist matches the DAB bank's web technology stack perfectly and saves extensive in-house development. The functionality is optimally aligned to the Camunda BPM platform and due to its flexible adaptability also fulfills the needs of a bank. 
Karl Brandner, Chief Architect
Live Demo 
1 
2 
3
Technical Architecture 
Camunda 
Backend 
REST 
Camunda 
JavaScript Forms SDK 
AngularJS 
Twitter Bootstrap
Your own Setup? 
Camunda 
Backend 
REST 
Camunda 
JavaScript Forms SDK 
Your very own HTML 5 User Interface
Camunda JavaScript Forms SDK 
•Greatly simplifies the implementation of task forms. 
•You can directly bind Html form controls to process variables. 
•The Forms SDK handles the fetching of the variable values from the process engine, type conversions and so on. 
•The Forms SDK optionally integrates with AngularJSto take advantage of AngularJS form validation and other AngularJS goodies. 
More: https://github.com/camunda/camunda-bpm-sdk-js 
<form> 
<inputtype="text" 
cam-variable-name="CUSTOMER_ID" 
cam-variable-type="String"> 
<inputtype="text" 
cam-variable-name="CUSTOMER_REVENUE" 
cam-variable-type="Float"> 
</form>
Camunda BPM 7.2 
•Performance / Scalability 
•Tasklist 
•Connectors / Data / Scripts / Templates 
•CMMN
The paradigm 
Developer-Friendly 
System Integration 
Death by Property Panel 
vs. 
Camunda 
Zero-Code BPM Suites
Java Objekte in XML or JSON serialisieren 
Camunda BPM 
Database 
Customer, Address 
XML or JSON 
Advantages: 
•Anyone can directly inspect Java objects in the database and Cockpit 
•It is easier to set up polyglot architectures (e.g. Java + Javascript)
Live Demo 
Yay!
Improved Handling of Data Formats 
XML or JSON 
Advantages: 
•Directly access XML or JSON within the process via APIs 
•No need to convert XML or JSON into Java Objects
Why Scripts and Templates are awesome 
•No Java Code / Classes needed 
•(Re-)deployment during runtime 
•Can be versioned as part of the process definition 
•Can be embedded inside the BPMN as well as referenced and maintained in standalone files 
•Great performance thanks to compile & cache
Advanced Support for Scripting
Advanced Support for Templates 
Camunda 
Enterprise Edition
Scripts and Templates in the Process 
In Script Tasks 
In Listeners 
As Conditions 
As IO- Mappings
Connectors
Connectors 
•Simple API for implementing Connectors as reusable Components 
•Included with Camunda 7.2: SOAP and REST (both based on Apache HTTP Client) 
•Fundamentally different approach than Zero-Code Suites: 
•Developer become more productive –it‘s not about „empowering Business Analysts“ 
•However not every developer speaks Java 
•Primary Target Group: IT divisions that want to provide a workflow infrastructure for their organization (other IT teams) 
•Focus on API instead of Properties 
•Connectors can be used in different components, e.g. Java Delegates
A powerful combination 
Connectors 
Data 
Scripting
Example: Do I have to work today? 
REST 
JSON 
Javascript
Simple REST Call 
Start with Process Variable date 
(e.g. via unit test) 
Invoke REST Service that provides holidays as JSON 
Run Javascript that checks if dateis a holiday and puts result as variable holiday: true|false 
Route based on holiday 
https://github.com/camunda/camunda-bpm-examples/tree/master/servicetask/rest-service
Live Demo 
Yay!
More in the Documentation 
•Connectors: http://docs.camunda.org/latest/guides/user- guide/#process-engine-connectors 
•Scripting: http://docs.camunda.org/latest/guides/user- guide/#process-engine-scripting 
•Data: http://docs.camunda.org/latest/guides/user-guide/#data- formats-xml-json-other
Camunda BPM 7.2 
•Performance / Scalability 
•Tasklist 
•Connectors / Data / Scripts / Templates 
•CMMN
CMMN 1.0 
•Published by OMG in May 2014 as the BPMN-equivalent for „Cases“ 
•Targets „Activities that are not so predefined and repeatable, but instead depend on evolving circumstances and ad hoc decisions by knowledge workers regarding a particular situation, a case (see Davenport 1994 and 2005; and Van der Aalst 2005)” 
•Typical Use Cases: 
•applicationandclaimprocessingininsurance 
•patientcareandmedicaldiagnosisinhealthcare 
•problemresolutionincallcenters 
•invoicediscrepancyhandling 
More: http://www.omg.org/spec/CMMN/1.0/
You often have both 
Unstructured Processes 
Nonroutine Work 
Structured Processes 
Routine Work
Camunda integrates BPMN with CMMN
Example: Incoming Invoices
„Review Invoice“ is a Case
CMMN: A complex example 
Source: OMG
„Review Invoice“ as a simple Case 
CMMN Modeler 
by Trisotech
CMMN explained 
Human Taskthat will be created when the Case is created 
Completing the Task triggers Completion of the Case 
Milestone, that will be reached depending on the outcome of the Task 
Human Task, 
That maybe created by the knowledge worker 
Process Task, that maybe created by the knowledge worker
Starting a Case within a Process…
…and starting a Process within a Case!
Live Demo 
Yay!
All combinations are possible 
•BPMN standalone 
•BPMN calling CMMN 
•CMMN calling BPMN 
•CMMN standalone
Should Istart with CMMN now?
Should Istart with CMMN now? 
Yes, cause it‘s safe with Camunda ;-)
Dedicated Webinars about… 
•Performance / Scalability 
•Tasklist 
•Connectors / Data / Scripts / Templates 
•CMMN 
Invitation coming soon!
How can I move ahead? 
Open Source Edition 
•Download: www.camunda.org 
•Docs, Tutorials etc. 
•Forum 
•Meetings 
Enterprise Edition 
•Trial: www.camunda.com 
•Additional Features 
•Support, Patches etc. 
•Consulting, Training 
Contact: Germany +49 30 664 04 09 00 | US +1.415.800.3908
Q&A

Camunda BPM 7.2 - English

  • 1.
    Camunda BPM 7.2 Release Webinar
  • 2.
    Your hosts fortoday Daniel Meyer Technical Lead Jakob Freund CEO
  • 3.
    Do you alreadyuse Camunda? No answer; 45; 8% Not at all; 166; 32% we're evaluating; 174; 33% we're developing; 83; 16% we're in production; 58; 11%
  • 4.
    Why do youuse Camunda? Reasons: •Executes BPMN 2.0 •Best option for Java •is Open Source Advantages: •Stanardized technologies and Skills •More flexible •Easier, quicker development •cost-effective Also trusted by:
  • 5.
    Camunda 7.2 Statistics April 1st –Nov 30th ~ 1,700 person days Features; 209; 33% Bugs; 203; 33% Tasks; 211; 34%
  • 6.
    Camunda BPM 7.2 •Performance / Scalability •Tasklist •Connectors / Data / Scripts / Templates •CMMN
  • 7.
    Camunda BPM 7.2 •Performance / Scalability •Tasklist •Connectors / Data / Scripts / Templates •CMMN
  • 8.
    Performance / Scalability •Camunda BPM is increasingly used in High-Load Situations •A „high-load situation“ starts at ~10 instantiated processes per Second •Some Customers run Camunda with > 1,000 Process Instances per Second •This means we continuously improve the performance and scalability •Execute process instances in a short amount of time •Support load balancing in Clusters •Prepare Camunda for alternative storage strategies (No SQL, In Memory etc.)
  • 9.
    Camunda 7.1 (!)compared to JBoss jBPM 6 More Information: http://camunda.com/landing/whitepaper-camunda-jbpm In our tests, Camunda‘s throughput was 10x –30x higher than with JBoss jBPM.
  • 10.
    Performance Improvements in7.2 •Improved First Level Cache (throughput increased by up to 90%) •Improved Load Balancing for Cluster Mode •Log Level for History can be configured •Minimize Risk of Deadlocks in High-Load Situations
  • 11.
    Camunda BPM 7.2 •Performance / Scalability •Tasklist •Connectors / Data / Scripts / Templates •CMMN
  • 12.
  • 13.
    Tasklist 7.2 Incollaboration with “The tasklist is the central point of contact for business users with the BPM platform and is therefore an essential component. The innovative implementation of the Camunda tasklist matches the DAB bank's web technology stack perfectly and saves extensive in-house development. The functionality is optimally aligned to the Camunda BPM platform and due to its flexible adaptability also fulfills the needs of a bank. Karl Brandner, Chief Architect
  • 14.
  • 15.
    Technical Architecture Camunda Backend REST Camunda JavaScript Forms SDK AngularJS Twitter Bootstrap
  • 16.
    Your own Setup? Camunda Backend REST Camunda JavaScript Forms SDK Your very own HTML 5 User Interface
  • 17.
    Camunda JavaScript FormsSDK •Greatly simplifies the implementation of task forms. •You can directly bind Html form controls to process variables. •The Forms SDK handles the fetching of the variable values from the process engine, type conversions and so on. •The Forms SDK optionally integrates with AngularJSto take advantage of AngularJS form validation and other AngularJS goodies. More: https://github.com/camunda/camunda-bpm-sdk-js <form> <inputtype="text" cam-variable-name="CUSTOMER_ID" cam-variable-type="String"> <inputtype="text" cam-variable-name="CUSTOMER_REVENUE" cam-variable-type="Float"> </form>
  • 18.
    Camunda BPM 7.2 •Performance / Scalability •Tasklist •Connectors / Data / Scripts / Templates •CMMN
  • 19.
    The paradigm Developer-Friendly System Integration Death by Property Panel vs. Camunda Zero-Code BPM Suites
  • 20.
    Java Objekte inXML or JSON serialisieren Camunda BPM Database Customer, Address XML or JSON Advantages: •Anyone can directly inspect Java objects in the database and Cockpit •It is easier to set up polyglot architectures (e.g. Java + Javascript)
  • 21.
  • 22.
    Improved Handling ofData Formats XML or JSON Advantages: •Directly access XML or JSON within the process via APIs •No need to convert XML or JSON into Java Objects
  • 23.
    Why Scripts andTemplates are awesome •No Java Code / Classes needed •(Re-)deployment during runtime •Can be versioned as part of the process definition •Can be embedded inside the BPMN as well as referenced and maintained in standalone files •Great performance thanks to compile & cache
  • 24.
  • 25.
    Advanced Support forTemplates Camunda Enterprise Edition
  • 26.
    Scripts and Templatesin the Process In Script Tasks In Listeners As Conditions As IO- Mappings
  • 27.
  • 28.
    Connectors •Simple APIfor implementing Connectors as reusable Components •Included with Camunda 7.2: SOAP and REST (both based on Apache HTTP Client) •Fundamentally different approach than Zero-Code Suites: •Developer become more productive –it‘s not about „empowering Business Analysts“ •However not every developer speaks Java •Primary Target Group: IT divisions that want to provide a workflow infrastructure for their organization (other IT teams) •Focus on API instead of Properties •Connectors can be used in different components, e.g. Java Delegates
  • 29.
    A powerful combination Connectors Data Scripting
  • 30.
    Example: Do Ihave to work today? REST JSON Javascript
  • 31.
    Simple REST Call Start with Process Variable date (e.g. via unit test) Invoke REST Service that provides holidays as JSON Run Javascript that checks if dateis a holiday and puts result as variable holiday: true|false Route based on holiday https://github.com/camunda/camunda-bpm-examples/tree/master/servicetask/rest-service
  • 32.
  • 33.
    More in theDocumentation •Connectors: http://docs.camunda.org/latest/guides/user- guide/#process-engine-connectors •Scripting: http://docs.camunda.org/latest/guides/user- guide/#process-engine-scripting •Data: http://docs.camunda.org/latest/guides/user-guide/#data- formats-xml-json-other
  • 34.
    Camunda BPM 7.2 •Performance / Scalability •Tasklist •Connectors / Data / Scripts / Templates •CMMN
  • 35.
    CMMN 1.0 •Publishedby OMG in May 2014 as the BPMN-equivalent for „Cases“ •Targets „Activities that are not so predefined and repeatable, but instead depend on evolving circumstances and ad hoc decisions by knowledge workers regarding a particular situation, a case (see Davenport 1994 and 2005; and Van der Aalst 2005)” •Typical Use Cases: •applicationandclaimprocessingininsurance •patientcareandmedicaldiagnosisinhealthcare •problemresolutionincallcenters •invoicediscrepancyhandling More: http://www.omg.org/spec/CMMN/1.0/
  • 36.
    You often haveboth Unstructured Processes Nonroutine Work Structured Processes Routine Work
  • 37.
  • 38.
  • 39.
  • 40.
    CMMN: A complexexample Source: OMG
  • 41.
    „Review Invoice“ asa simple Case CMMN Modeler by Trisotech
  • 42.
    CMMN explained HumanTaskthat will be created when the Case is created Completing the Task triggers Completion of the Case Milestone, that will be reached depending on the outcome of the Task Human Task, That maybe created by the knowledge worker Process Task, that maybe created by the knowledge worker
  • 43.
    Starting a Casewithin a Process…
  • 44.
    …and starting aProcess within a Case!
  • 45.
  • 46.
    All combinations arepossible •BPMN standalone •BPMN calling CMMN •CMMN calling BPMN •CMMN standalone
  • 47.
  • 48.
    Should Istart withCMMN now? Yes, cause it‘s safe with Camunda ;-)
  • 49.
    Dedicated Webinars about… •Performance / Scalability •Tasklist •Connectors / Data / Scripts / Templates •CMMN Invitation coming soon!
  • 50.
    How can Imove ahead? Open Source Edition •Download: www.camunda.org •Docs, Tutorials etc. •Forum •Meetings Enterprise Edition •Trial: www.camunda.com •Additional Features •Support, Patches etc. •Consulting, Training Contact: Germany +49 30 664 04 09 00 | US +1.415.800.3908
  • 51.