SlideShare a Scribd company logo
Open source workflow and rule management with
Camunda
bernd.ruecker@camunda.com | @berndruecker | http://bernd-ruecker.com/
pay receive
shipment
place
order
I want to buy
something!
I am happy!
The internal view
receive
shipment
place
order
manual approval
in case of risky orders
risk
check
payment delivery
Requirements
receive
shipment
place
order
manual approval
in case of risky orders
risk
check
payment delivery
Long running,
requires state handling
Service collaboration,
potentially long running
How to implement this?
State in entity
Or a seperate state entity
State machine
Using Camunda, open source workflow engine: http://camunda.org/
Invoking logic
Visualization and persistent state
Relational DB
Visibility helps!
Some time ago…
Application
Processingnew
applications
CRM
Some time ago…
Application
Processingnew
applications
CRM
When does these things happen?
The sales report on Monday:
Alarming by
management attention
Alarming by
customer complaints
Same story using Camunda
JavaBin Oslo: Open source workflow and rule management with Camunda
JavaBin Oslo: Open source workflow and rule management with Camunda
JavaBin Oslo: Open source workflow and rule management with Camunda
JavaBin Oslo: Open source workflow and rule management with Camunda
GET /engine/default/incident/count
{
"count":1
}
JavaBin Oslo: Open source workflow and rule management with Camunda
JavaBin Oslo: Open source workflow and rule management with Camunda
JavaBin Oslo: Open source workflow and rule management with Camunda
JavaBin Oslo: Open source workflow and rule management with Camunda
JavaBin Oslo: Open source workflow and rule management with Camunda
JavaBin Oslo: Open source workflow and rule management with Camunda
JavaBin Oslo: Open source workflow and rule management with Camunda
JavaBin Oslo: Open source workflow and rule management with Camunda
JavaBin Oslo: Open source workflow and rule management with Camunda
Hot potato
issue handling
The 7 sins of workflow and Java
No engine Wrong engine
3
4
6
5
7
http://blog.bernd-ruecker.com/
2
The 7 sins of workflow and Java
Homegrown
engine
No engine Wrong engine
3
4
6
5
7
http://blog.bernd-ruecker.com/
The homegrown engine
©kallejipp/photocase.com
Own DSL, parsing, graphical representation,
modeler, persistence, escalation, version
management, tooling, …
Whole teams maintaining something that
always lacks behind
The 7 sins of workflow and Java
Zero-code suites
Homegrown
engine
No engine Wrong engine Wrong usage
4
6
5
7
http://blog.bernd-ruecker.com/
Death by properties panel
Script:
Please enter your complex code here.
(Without IDE support of course!)
BPM Suites
By the way, we introduce an own
development approach, IDE, version
control, user management, reporting, …
Zero code & developers
We have a lot of
problems!
It totally sucks!
I hate BPM!
Bernd Rücker
Co-founder Camunda
> 10+ years workflow
http://bernd-ruecker.com/
bernd.ruecker@camunda.com
Camunda
Open source vendor
Berlin + San Francisco
> 60 employees
No venture capital
www.camunda.org
In Camunda you can specify flows programatically or graphically
Todo…
JavaBin Oslo: Open source workflow and rule management with Camunda
Proper testing – too!
Lightweight engine
Cockpit
Modeler
DB
Tasklist Custom App
Business
Analyst
Java API
Engine
REST API
End User
Developer
Operator
Requirements
receive
shipment
place
order
manual approval
in case of risky orders
risk
check
payment delivery
Long running,
requires state handling
Service collaboration,
potentially long running
Guidance for decision,
history
Decision Tables
Live Demo
Example of “classical” architecture
Node 2
JBoss, WildFly, WAS, … Node 1
Camunda
(Shared Process Engine)
Database
ProcessApplication1
(war)
e.g. „Procurement “
BPMN Delegates
Forms /
UI
ProcessApplication2
(war)
e.g. „Order Management“
BPMN Delegates
Forms /
UI
ProcessApplication3
(war)
reusable global processes
BPMN Delegates
Forms /
UI
Generic User Interface
(war)
task list, reusable global forms, …
Entities,
rules, …
Entities,
rules, …
Entities,
rules, …
Camunda Webapp
(war)
Cockpit, Tasklist, Admin
Load Balancer
Browser
Some service
BPM Service
(war)
customer specific
service - generic
Camunda REST API
(war)
Example of microservices architecture
Every microservice can decide autonomously
Make sense as soon as you have state
Engine must be
• easy to use
• developer friendly
also in the scope of microservices
• technically
• license model
Payment service
Order service
engine
engine
…
Inventory service
Shipping service
…
engine
Paymentservice
Microservice collaboration
Orderservice
Eventbus
Demo available on Github
Inventory
service
Payment
service
Order
service
Shipping
service
H2
Shop Monitor
Camunda
Webapp
on Tomcat
for demo in single Java VM for simplicity
Camunda community ecosystem
Testing
Spring Boot
Camel
Docker
Elasticsearch
Grails
PHP & C# client
and more: https://docs.camunda.org/manual/latest/introduction/extensions/
AT&T
More than 100 Customers
• Finance: Account Opening, Credit Card Provisioning, …
• Insurance: Insurance Policy Issue, Claim Settlement, …
• Telco: OSS, BSS, …
• Media: Digital Content Delivery, …
• E-Commerce: Order Execution, Purchasing, …
Customer Case Studies
https://network.camunda.org/whitepapers/
Slides online:
http://bernd-ruecker.com
Feedback:
http://bernd-ruecker.com/feedback
Camunda:
http://camunda.org/
Code online:
https://github.com/berndruecker/
Takeaways
• Almost any application
nowadays has (potentially) long
running flows
• Camunda can do the state
handling nicely for you
• The lightweight framework
allows best-of-breed and
modern architectures
• Graphical representation helps
to align people.
• It is a lot of fun!
The 7 sins of workflow
Zero-code suites
Homegrown
engine
Granularity
bloopers
BPM monolith Stakeholders
habitat violation
Over engineering
No engine Wrong engine Wrong usage
http://blog.bernd-ruecker.com/
Thank you! Any questions?

More Related Content

PDF
Goto meetup Stockholm - Let your microservices flow
PDF
Master the flow of microservices - because your business is more complex than...
PDF
The 7 sins of workflow
PDF
WJAX 2017: Workflow and state machines at scale
PDF
JAX 2017 talk: Orchestration of microservices
PDF
CamundaCon 2021 Keynote :From Human Workflow to High-Throughput Process Autom...
PDF
Long running processes in DDD
PDF
2016 JFall Camunda BPM
Goto meetup Stockholm - Let your microservices flow
Master the flow of microservices - because your business is more complex than...
The 7 sins of workflow
WJAX 2017: Workflow and state machines at scale
JAX 2017 talk: Orchestration of microservices
CamundaCon 2021 Keynote :From Human Workflow to High-Throughput Process Autom...
Long running processes in DDD
2016 JFall Camunda BPM

What's hot (20)

PDF
Jakob Freund: Camunda for IT Executives - Camunda Days
PDF
GopherCon UK 2018 - Orchestration of microservices
PDF
7 sins of workflow
PDF
camunda for developer-friendly BPM
PDF
Webinar: BPMN with camunda
PDF
JFS 2017 - Orchestration of microservices
PDF
Camunda BPM 7.2 - English
PPTX
Camunda BPM 7.13 Webinar
PDF
Kafka Summit 2018: Monitoring and Orchestration of Your Microservices Landsca...
PDF
Camunda BPM at bpmNEXT 2016
PPTX
Roadshow 2018 - Microservices mit Camunda
PDF
Case study: Camunda BPM in PwC project
PPTX
Inetgration patterns for camunda
PPTX
Camunda Product Update – The present and the future of Process Automation
PDF
Java User Group Maas-Rhine February 2018: 7 sins of workflow
PDF
CamundaCon 2018: Custom Batch Extension (Holisticon)
PPTX
Neue zeiten verlangen nach neuen Paradigmen - Bernd Rücker
PDF
Webinar: Camunda und Liferay
PDF
Camunda BPM 7.2: Performance and Scalability (English)
PDF
3 common pitfalls in microservice integration
Jakob Freund: Camunda for IT Executives - Camunda Days
GopherCon UK 2018 - Orchestration of microservices
7 sins of workflow
camunda for developer-friendly BPM
Webinar: BPMN with camunda
JFS 2017 - Orchestration of microservices
Camunda BPM 7.2 - English
Camunda BPM 7.13 Webinar
Kafka Summit 2018: Monitoring and Orchestration of Your Microservices Landsca...
Camunda BPM at bpmNEXT 2016
Roadshow 2018 - Microservices mit Camunda
Case study: Camunda BPM in PwC project
Inetgration patterns for camunda
Camunda Product Update – The present and the future of Process Automation
Java User Group Maas-Rhine February 2018: 7 sins of workflow
CamundaCon 2018: Custom Batch Extension (Holisticon)
Neue zeiten verlangen nach neuen Paradigmen - Bernd Rücker
Webinar: Camunda und Liferay
Camunda BPM 7.2: Performance and Scalability (English)
3 common pitfalls in microservice integration
Ad

Similar to JavaBin Oslo: Open source workflow and rule management with Camunda (20)

PDF
CraftConf: Surviving the hyperautomation low code bubbl
PPTX
Camunda for Modern Web Applications by Corinna Cohn and Sowmya Raghunathan
PDF
Microservices with Camunda - Talk from Camunda Days 01/2018
PDF
Webinar: Monitoring & Orchestrating Your Microservices Landscape using Workfl...
PDF
JAX 2019 - Workflow automation reinvented
PDF
CamundaCon NYC 2023 Keynote - Shifting into overdrive with process orchestration
PDF
CamundaCon 2022 Keynote: The Process Orchestration Journey
PDF
Communication between (micro-)services - Bernd Rücker - Codemotion Amsterdam ...
PDF
Camunda bpm 7.0-release-webinar-en
PDF
Cédric Vidal from Quicksign: Building a digital on-boarding microservices pla...
PDF
Camunda-Team-India-Tour-Bengaluru-20241128
PDF
Open Source workflow automation with BPMN 2.0, Java and camunda - Bernd Rücker
PDF
Camunda-BPM-Loan-Assessment-Process-Lab-v1.0.pdf
PDF
Process Automation Forum April 2021 - Practical Process Automation
PPTX
Camunda BPM - Said Mengi
PDF
Workflow automation with BPMN. Lessons learned.
PDF
Micronaut Webinar 2021 - Process Automation Introduction
PDF
Camunda Meetup: Rethink Business Processes and User Experience to Leverage Th...
PDF
Webinar - A Developer's Quick Start Guide to Open Source Process Automation U...
PDF
JFS 2021 - The Process Automation Map
CraftConf: Surviving the hyperautomation low code bubbl
Camunda for Modern Web Applications by Corinna Cohn and Sowmya Raghunathan
Microservices with Camunda - Talk from Camunda Days 01/2018
Webinar: Monitoring & Orchestrating Your Microservices Landscape using Workfl...
JAX 2019 - Workflow automation reinvented
CamundaCon NYC 2023 Keynote - Shifting into overdrive with process orchestration
CamundaCon 2022 Keynote: The Process Orchestration Journey
Communication between (micro-)services - Bernd Rücker - Codemotion Amsterdam ...
Camunda bpm 7.0-release-webinar-en
Cédric Vidal from Quicksign: Building a digital on-boarding microservices pla...
Camunda-Team-India-Tour-Bengaluru-20241128
Open Source workflow automation with BPMN 2.0, Java and camunda - Bernd Rücker
Camunda-BPM-Loan-Assessment-Process-Lab-v1.0.pdf
Process Automation Forum April 2021 - Practical Process Automation
Camunda BPM - Said Mengi
Workflow automation with BPMN. Lessons learned.
Micronaut Webinar 2021 - Process Automation Introduction
Camunda Meetup: Rethink Business Processes and User Experience to Leverage Th...
Webinar - A Developer's Quick Start Guide to Open Source Process Automation U...
JFS 2021 - The Process Automation Map
Ad

More from Bernd Ruecker (20)

PDF
QCon London: Mastering long-running processes in modern architectures
PDF
WeAreDevelopers Live 2024 - Mastering long-running processes in modern archit...
PDF
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
PDF
JCon Live 2023 - Lice coding some integration problems
PDF
JFall - Process Oriented Integration
PDF
JavaLand 2023 - Process Oriented Integration
PDF
Mastering Data for Higher Business Impact - at Commerzbank Innovation Summit
PDF
Camunda Chapter Hamburg - Surviving the hyperautomation low code bubble
PDF
Loosely or lousily coupled - Understanding communication patterns in microser...
PDF
JAX 2022 - Loosely or lousily coupled
PDF
JCon 2021 - Loosely or lousily coupled
PDF
Kafka Summit 2021 - Apache Kafka meets workflow engines
PDF
Webinar "Communication Between Loosely Coupled Microservices"
PDF
Automating Processes in Modern Architectures
PDF
OOP 2021 - Leverage the full potential of your hipster architecture
PDF
GOTOpia 2020 - Balancing Choreography and Orchestration
PDF
Reactive Summit 2020 - How state helps you to stay reactive
PDF
CamundaCon 2020 Keynote - The Return of Process Automation
PDF
Destination Automation: Automating Processes in Modern Hipster Architectures
PDF
Kafka Summit 2020: If an event is published to a topic and no one is around t...
QCon London: Mastering long-running processes in modern architectures
WeAreDevelopers Live 2024 - Mastering long-running processes in modern archit...
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
JCon Live 2023 - Lice coding some integration problems
JFall - Process Oriented Integration
JavaLand 2023 - Process Oriented Integration
Mastering Data for Higher Business Impact - at Commerzbank Innovation Summit
Camunda Chapter Hamburg - Surviving the hyperautomation low code bubble
Loosely or lousily coupled - Understanding communication patterns in microser...
JAX 2022 - Loosely or lousily coupled
JCon 2021 - Loosely or lousily coupled
Kafka Summit 2021 - Apache Kafka meets workflow engines
Webinar "Communication Between Loosely Coupled Microservices"
Automating Processes in Modern Architectures
OOP 2021 - Leverage the full potential of your hipster architecture
GOTOpia 2020 - Balancing Choreography and Orchestration
Reactive Summit 2020 - How state helps you to stay reactive
CamundaCon 2020 Keynote - The Return of Process Automation
Destination Automation: Automating Processes in Modern Hipster Architectures
Kafka Summit 2020: If an event is published to a topic and no one is around t...

Recently uploaded (20)

PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
cuic standard and advanced reporting.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Approach and Philosophy of On baking technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
NewMind AI Monthly Chronicles - July 2025
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Chapter 3 Spatial Domain Image Processing.pdf
MYSQL Presentation for SQL database connectivity
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Big Data Technologies - Introduction.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
cuic standard and advanced reporting.pdf
A Presentation on Artificial Intelligence
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Spectral efficient network and resource selection model in 5G networks
Approach and Philosophy of On baking technology
Building Integrated photovoltaic BIPV_UPV.pdf
Network Security Unit 5.pdf for BCA BBA.
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Encapsulation_ Review paper, used for researhc scholars
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

JavaBin Oslo: Open source workflow and rule management with Camunda