/camunda-bpm-examples

A collection of usage examples for camunda BPM intended to get you started quickly

Primary LanguageJavaScriptApache License 2.0Apache-2.0

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.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 Tomcat
Process Applications with JavaEE 6 JavaEE Containers

BPMN 2.0 & Process Implementation Examples

Name Container Keywords
Service Task REST HTTP Unit Test Rest Scripting, classless
Service Task SOAP HTTP Unit Test SOAP Scripting, classless
Service Task SOAP CXF HTTP 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 * All Email, Usertask
User Task Form Embedded * All Html, Form, Usertask
User Task Form Embedded - Serialized Java Object * All Html, Form, Usertask
User Task Form Embedded - JSON * All Html, Form, Usertask
User Task Form Embedded - Bpmn Elements * All Html, Form, Usertask
User Task Form Embedded - React * All Html, Form, Usertask
User Task Form - Camunda Forms * All Html, Form, Usertask
User Task Form Generated * All Html, Form, Usertask
User Task Form JSF * JavaEE Containers JSF, Form, Usertask
Script Task XSLT Unit Test XSLT Scripttask
Script Task XQuery Unit Test XQuery Scripttask
Start Event - Message Unit Test Message Start Event
Start Process - SOAP CXF War SOAP, CXF, Spring

(*) complete demo applications.

Deployment & Project Setup Examples

Name Container Keywords
Process Application - Servlet All War, Servlet
Process Application - EJB JavaEE Containers Ejb, War
Process Application - Spring Servlet - WildFly WildFly Spring, Servlet, War
Process Application - Spring Servlet - Embedded Tomcat Tomcat Spring, Servlet, War
Embedded Spring with embedded REST vanilla Apache Tomcat Spring, Rest, Embedded
Plain Spring Web application - WildFly WildFly Spring, Jndi, War
Process Application - Spring Boot 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 Unit Test Process Engine Plugin, Bpmn Parse Listener
Custom History Level Unit Test Process Engine Plugin, Custom History Level
Command Interceptor - Blocking Unit Test Maintenance, Interceptor, Configuration
Failed Job Retry Profile Unit Test Process Engine Plugin, Failed Job Retry

Bpmn 2.0 Model API Examples

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

Cmmn 1.1 Model API Examples

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

Cockpit Examples

Name Keywords
Fullstack (ReactJS 16.x & Java) "Count Processes" Cockpit Plugin Plugin, Custom Script, Fullstack, ReactJS
Angular 10 "Open Usertasks" Cockpit Tab Plugin, Custom Script, Angular
AngularJS 1.x "Search Processes" Cockpit Plugin Plugin, Custom Script, AngularJS
ReactJS 16.x "Involved Users" Cockpit Plugin Plugin, Custom Script, ReactJS
"Cats" Cockpit Plugin Plugin, Custom Script
"Diagram interactions" Cockpit Plugin Plugin, Custom Script
"Open Incidents" Cockpit Plugin Plugin, Custom Script
"Request Interceptor" Cockpit Script Plugin, Custom Script
bpmn-js Cockpit module 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 Plugin, Custom Script

SDK-JS Examples

Name Environment Keywords
SDK JS forms * Browser HTML, task, form, SDK
SDK JS forms AngularJS * Browser HTML, task, form, AngularJS

Camunda Modeler Eclipse Plugin Examples

Name Keywords Version
Custom Task Simple Plugin, Eclipse 2.3+
Custom Task Advanced Plugin, Eclipse 2.3+

Cycle Examples

Name Version
Connector Example 3.1+

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 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
Autodeployment Spring boot with embedded engine and Webapps Spring Boot Starter
Twitter Spring boot with embedded engine and Webapps Spring Boot Starter, Webapps, Twitter
REST API DMN Spring boot with embedded engine and Webapps Spring Boot Starter, REST API
Camunda Invoice Example Spring boot with embedded engine, Webapps and Rest API Spring Boot Starter, REST API

External Task Client

Name Environment Keywords
Loan Granting - Java Java External Task Client External Task Client, Servicetask
Order Handling - Java Java External Task Client External Task Client, Servicetask
Dataformat - Java 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
Order Handling Example Spring Boot with embedded Client External Task Client, Servicetask, Spring Boot Starter
Loan Granting w/ REST API & Webapp Example Spring Boot with embedded Client, REST API & Webapp External Task Client, Servicetask, Spring Boot Starter
Request Interceptor Example 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

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.