Skip to content

A collection of usage examples for Camunda Platform intended to get you started quickly

License

Notifications You must be signed in to change notification settings

camunda/camunda-bpm-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Camunda Platform examples

Looking for the "invoice" example contained in the distribution? You can find it here: https://github.com/camunda/camunda-bpm-platform/tree/master/examples/invoice

Camunda Platform examples is a collection of focused usage examples for the Camunda Platform, intended to get you started quickly. The sources on the master branch work with the current Camunda release. Follow the links below to browse the examples for the Camunda version you use:

Camunda Version Link Checkout command
Latest Master branch git checkout master
7.22 7.22 tag git checkout 7.22
7.21 7.21 tag git checkout 7.21
7.20 7.20 tag git checkout 7.20
7.19 7.19 tag git checkout 7.19
7.18 7.18 tag git checkout 7.18
7.17 7.17 tag git checkout 7.17
7.16 7.16 tag git checkout 7.16
7.15 7.15 tag git checkout 7.15
7.14 7.14 tag git checkout 7.14
7.13 7.13 tag git checkout 7.13
7.12 7.12 tag git checkout 7.12
7.11 7.11 tag git checkout 7.11
7.10 7.10 tag git checkout 7.10
7.9 7.9 tag git checkout 7.9
7.8 7.8 tag git checkout 7.8
7.7 7.7 tag git checkout 7.7
7.6 7.6 tag git checkout 7.6
7.5 7.5 tag git checkout 7.5
7.4 7.4 tag git checkout 7.4
7.3 7.3 tag git checkout 7.3
7.2 7.2 tag git checkout 7.2
7.1 7.1 tag git checkout 7.1

If you clone this repository, use the checkout commands to access the sources for the desired version.

Overview

Getting Started with Camunda Platform

Name Container
Simple Process Applications All
Camunda Platform and the Spring Framework 1 Tomcat
Process Applications with JavaEE 6 1 JavaEE Containers

BPMN 2.0 & Process Implementation Examples

Name Container Keywords
Service Task REST HTTP Unit Test Rest Scripting, classless
Service Task SOAP HTTP 1 Unit Test SOAP Scripting, classless
Service Task SOAP CXF HTTP 1 Unit Test SOAP, CXF, Spring, Spin
Service Invocation Synchronous Unit Test Java Delegate, Sync
Service Invocation Asynchronous Unit Test Signal, Async
User Task Assignment Email 12 All Email, Usertask
User Task Form Embedded 2 All Html, Form, Usertask
User Task Form Embedded - Serialized Java Object 12 All Html, Form, Usertask
User Task Form Embedded - JSON 2 All Html, Form, Usertask
User Task Form Embedded - Bpmn Elements 2 All Html, Form, Usertask
User Task Form Embedded - React 2 All Html, Form, Usertask
User Task Form - Camunda Forms 2 All Html, Form, Usertask
User Task Form Generated 12 All Html, Form, Usertask
User Task Form JSF 12 JavaEE Containers JSF, Form, Usertask
Script Task XSLT Unit Test XSLT Scripttask
Script Task XQuery 1 Unit Test XQuery Scripttask
Start Event - Message Unit Test Message Start Event
Start Process - SOAP CXF 1 War SOAP, CXF, Spring

Deployment & Project Setup Examples

Name Container Keywords
Process Application - Servlet All War, Servlet
Process Application - EJB JavaEE Containers Ejb, War
Process Application - Jakarta EJB Jakarta EE Containers Ejb, War
Process Application - Spring 5 Servlet - WildFly WildFly Spring, Servlet, War
Process Application - Spring 6 Servlet - Embedded Tomcat Tomcat 10 Spring, Servlet, War
Embedded Spring 6 with embedded REST vanilla Apache Tomcat 10 Spring, Rest, Embedded
Plain Spring 5 Web application - WildFly WildFly Spring, Jndi, War
Process Application - Spring Boot 1 Spring Boot Spring

Process Engine Plugin Examples

Name Container Keywords
BPMN Parse Listener Unit Test Process Engine Plugin, Bpmn Parse Listener
BPMN Parse Listener on User Task 1 Unit Test Process Engine Plugin, Bpmn Parse Listener
Command Interceptor - Blocking Unit Test Maintenance, Interceptor, Configuration
Custom History Level Unit Test Process Engine Plugin, Custom History Level
Failed Job Retry Profile Unit Test Process Engine Plugin, Failed Job Retry

Bpmn 2.0 Model API Examples

Name Container Keywords
Generate JSF forms 1 JavaEE Containers JSF, Usertask
Generate BPMN process Unit Test Fluent API
Parse BPMN model Unit Test BPMN

Cmmn 1.1 Model API Examples

Name Container Keywords
Strongly-typed Access to Custom Extension Elements 1 Unit Test CMMN, TransformListener

Cockpit Examples

Name Keywords
Fullstack (ReactJS 16.x & Java) "Count Processes" Cockpit Plugin Plugin, Custom Script, Fullstack, ReactJS
Angular "Open Usertasks" Cockpit Tab 1 Plugin, Custom Script, Angular
AngularJS 1.x "Search Processes" Cockpit Plugin 1 Plugin, Custom Script, AngularJS
ReactJS "Involved Users" Cockpit Plugin Plugin, Custom Script, ReactJS
"Cats" Cockpit Plugin 1 Plugin, Custom Script
"Diagram interactions" Cockpit Plugin Plugin, Custom Script
"Open Incidents" Cockpit Plugin 1 Plugin, Custom Script
"Request Interceptor" Cockpit Script 1 Plugin, Custom Script
bpmn-js Cockpit module 1 Plugin, Custom Script, bpmn-js
bpmn-js Cockpit module - bundled Plugin, Custom Script, bpmn-js, rollup

Tasklist Examples

Name Keywords
Create Standalone Task - client side Plugin
Create Standalone Task - server side Plugin
Javascript Only Plugin Plugin, Custom Script
JQuery 3.4 Behavior Patch 1 Plugin, Custom Script

SDK-JS Examples

Name Environment Keywords
SDK JS forms 12 Browser HTML, task, form, SDK

Multi-Tenancy Examples

Name Container Keywords
Multi-Tenancy with Database Schema Isolation Wildfly Multi-Tenancy
Multi-Tenancy with Tenant Identifiers for Embedded Process Engine Unit Test Multi-Tenancy
Multi-Tenancy with Tenant Identifiers for Shared Process Engine All Multi-Tenancy
Multi-Tenancy with Tenant Identifiers and Shared Process Definitions Unit Test Multi-Tenancy

Spin Examples

Name Container Keywords
Global Data Format Configuration to Customize JSON serialization Unit Test Spin, Configuration
Process-Application-Specific Data Format Configuration to Customize JSON serialization Application Server Spin, Configuration, Shared Engine

DMN Examples

Name Container Keywords
Embed Decision Engine - Dish Decision Maker Jar DMN, Embed
Decision Requirements Graph(DRG) Example Jar DMN, DRG, Embed

Process Instance Migration Examples

Name Container Keywords
Migration on Deployment of New Process Version Application Server with Shared Engine BPMN, Migration

Authentication

Name Container Keywords
Basic Authentication 1 Spring boot with embedded engine, REST API and Basic Authentication filter Authentication

Spring Boot Starter examples

Name Container Keywords
Plain Camunda Engine Jar Spring Boot Starter
Webapps Spring boot with embedded engine and Webapps Spring Boot Starter, Webapps
Webapps EE Spring boot with embedded engine and Webapps Spring Boot Starter, Webapps
REST API Spring boot with embedded engine and Webapps Spring Boot Starter, REST API
Twitter Spring boot with embedded engine and Webapps Spring Boot Starter, Webapps, Twitter
Camunda Invoice Example Spring boot with embedded engine, Webapps and Rest API Spring Boot Starter, REST API
Autodeployment 1 Spring boot with embedded engine and Webapps Spring Boot Starter
REST API DMN 1 Spring boot with embedded engine and Webapps Spring Boot Starter, REST API

Quarkus Extension Examples

Name Container Keywords
Datasource Example Uber-Jar Quarkus Extension
Spin Plugin Example Uber-Jar Quarkus Extension
Simple REST Example 1 Uber-Jar Quarkus Extension

External Task Client

Name Environment Keywords
Order Handling - Java Java External Task Client External Task Client, Servicetask
Loan Granting - Java 1 Java External Task Client External Task Client, Servicetask
Dataformat - Java 1 Java External Task Client External Task Client, Servicetask
Loan Granting - JavaScript JavaScript External Task Client External Task Client, Servicetask
Order Handling - JavaScript JavaScript External Task Client External Task Client, Servicetask

External Task Client Spring

Name Keywords
Loan Granting Example External Task Client, Servicetask

External Task Client Spring Boot

Name Container Keywords
Loan Granting w/ REST API & Webapp Example Spring Boot with embedded Client, REST API & Webapp External Task Client, Servicetask, Spring Boot Starter
Order Handling Example 1 Spring Boot with embedded Client External Task Client, Servicetask, Spring Boot Starter
Request Interceptor Example 1 Spring Boot with embedded Client External Task Client, Servicetask, Spring Boot Starter

Container Specifics

Name Container Keywords
Jackson Annotation Example for WildFly Wildfly War, Servlet

Testing

Name Keywords
Assert Testing, Junit 4, Assert
Assert and JUnit 5 Testing, Junit 5, Assert
Assert and Junit 5: configure a custom process engine Testing, Junit 5, Assert

Contributing

Have a look at our contribution guide for how to contribute to this repository.

License

The source files in this repository are made available under the Apache License Version 2.0.

Footnotes

  1. This example is not actively maintained anymore. 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

  2. Complete demo applications 2 3 4 5 6 7 8 9 10

About

A collection of usage examples for Camunda Platform intended to get you started quickly

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published