/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 BPM 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 BPM examples is a collection of focused usage examples for the camunda BPM 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.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 BPM

Name Container
Simple Process Applications All
camunda BPM 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 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 - JBoss JBoss AS 7 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 Webapplication JBoss AS 7 JBoss AS 7 Spring, Jndi, War
Process Application - Spring Boot Spring Boot Spring

Hint: Any example using the JBoss 7 Camunda BPM distribution must use JDK 6/7 to run/compile the project. Otherwise the JBoss 7 will not start, just hang. This is a JBoss 7.2 issue and does not affect JBoss Wildfly.

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
Cockpit Sample Plugin Plugin
Failed Jobs Plugin Plugin
Javascript Only Plugin Plugin, Custom Script
Request Interceptor Custom Script

Tasklist Examples

Name Keywords
Create Standalone Task - client side Plugin
Create Standalone Task - server side Plugin

SDK-JS Examples

Name Environment Keywords
SDK JS forms * Browser HTML, task, form, SDK
SDK JS forms AngularJS * Browser HTML, task, form, AngularJS
SDK JS node.js * node.js CLI, deployment

Camunda Modeler Eclipse Plugin Examples

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

CMMN Examples

Name
Case Manager UI (External)

Cycle Examples

Name Version
Connector Example 3.1+

Multi-Tenancy Examples

Name Container Keywords
Multi-Tenancy with Database Schema Isolation JBoss AS 7 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
War War 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

Contribute!