MCPcopy Index your code
hub / github.com/camunda-community-hub/camunda-8-examples

github.com/camunda-community-hub/camunda-8-examples @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
495 symbols 1,252 edges 129 files 37 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Camunda 8 Examples

A collection of technical examples demonstrating how to use Camunda 8 features and solve common implementation challenges. These examples are designed for developers who want to get started with Camunda 8 or explore specific technical patterns and integrations.

For business-focused tutorials and process blueprints, see the Camunda 8 Tutorials repository.

What's in this Repository

This repository contains standalone Maven projects (and some Python examples) that demonstrate specific technical patterns and use cases:

Getting Started & Client Usage

Complete Process Applications

Architectural Patterns

  • async-service-task - Implement asynchronous service calls as synchronous-looking tasks with idempotent requests and polling
  • synchronous-response-springboot - Return synchronous responses from process instances by blocking until a specific state is reached
  • event-processing - Achieve consistency when processing events from RabbitMQ/Kafka and persisting to databases
  • rollback-on-error-example - Implement synchronous validation with rollback capability in an async environment
  • parallel-operations - Run Camunda 7 and Camunda 8 in parallel using shared delegates

Advanced Features

  • large-multi-instance-example - Handle very large sequences (40,000+ elements) using multi-instance subprocesses with chunking strategy
  • ProcessMetadataListener - Generic metadata listener that provides process context information (keys, versions) as variables
  • timer-testing - Unit testing approaches for timer events in Zeebe

Connectors & Extensions

User Interface & Task Management

  • react-tasklist - Custom tasklist using Tasklist REST API with Camunda Forms rendering and webhook integration
  • task-micro-frontend - Micro frontend for embedding Camunda tasks in custom tasklists

External Integrations

  • powerapps-dataverse - Connect Camunda 8 REST Connector to Microsoft PowerApps Dataverse via OAuth2

How to Use These Examples

  1. Clone the repository: bash git clone https://github.com/camunda-community-hub/camunda-8-examples.git cd camunda-8-examples

  2. Navigate to an example: bash cd <example-directory>

  3. Follow the README: Each example includes:

  4. Purpose and use case description
  5. Architecture and implementation details
  6. Prerequisites and setup instructions
  7. How to run and test the example

  8. Requirements: Most examples require:

  9. Java 17+ and Maven 3.6+ (for Java examples)
  10. Python 3.8+ (for Python examples)
  11. Access to a Camunda 8 cluster (SaaS or self-managed)
  12. Example-specific dependencies (Docker, Kubernetes, etc.)

Prerequisites

Most examples assume you have access to a Camunda 8 environment. You can: - Sign up for Camunda 8 SaaS (free trial available) - Set up Camunda 8 Self-Managed using Docker Compose

Report Issues

If you encounter problems with an example, please file an issue including: - Which example you're using - What didn't work as expected - Your environment (Java version, OS, Camunda 8 version, etc.) - Steps to reproduce the problem

Extension points exported contracts — how you extend this code

BearerTokenProvider (Interface)
This is the interface that describes the contract between the BearerTokenProviderRegistry and each individual im [4 implementers]
secret-provider-as-credentials-provider/src/main/java/com/camunda/consulting/BearerTokenProvider.java
DynamicJobHandler (Interface)
(no doc) [4 implementers]
rollback-on-error-example/src/main/java/com/camunda/consulting/DynamicJobHandler.java
TwitterService (Interface)
Publish content on Twitter. [2 implementers]
twitter-review-java-springboot/src/main/java/org/camunda/community/examples/twitter/business/TwitterService.java
Data (Interface)
(no doc) [2 implementers]
task-micro-frontend/src/main/java/com/camunda/consulting/UpdateTaskDto.java
Make (Interface)
(no doc) [2 implementers]
element-template-generation/src/main/java/com/camunda/consulting/CarConnectorInput.java
EventRepository (Interface)
(no doc)
event-processing/src/main/java/com/camunda/consulting/eventprocessing/EventRepository.java

Core symbols most depended-on inside this repo

send
called by 66
rollback-on-error-example/src/main/java/com/camunda/consulting/RollbackJobHandler.java
get
called by 44
parallel-operations/src/main/java/com/camunda/consulting/StringService.java
getKey
called by 31
rollback-on-error-example/src/main/java/com/camunda/consulting/UserTask.java
getProcessInstanceKey
called by 19
rollback-on-error-example/src/main/java/com/camunda/consulting/UserTask.java
execute
called by 17
element-template-generation/src/main/java/com/camunda/consulting/CarConnector.java
map
called by 15
event-processing/src/main/java/com/camunda/consulting/eventprocessing/Mapper.java
put
called by 12
secret-provider-as-credentials-provider/src/main/java/com/camunda/consulting/ZeebeBearerTokenProvider.java
envOrDefault
called by 12
camunda-client-plain-java/src/main/java/io/camunda/example/ClientProvider.java

Shape

Method 323
Class 147
Function 11
Enum 8
Interface 6

Languages

Java98%
TypeScript2%
Python1%

Modules by API surface

rollback-on-error-example/src/main/java/com/camunda/consulting/RollbackJobHandler.java21 symbols
rollback-on-error-example/src/main/java/com/camunda/consulting/UserTask.java17 symbols
event-processing/src/main/java/com/camunda/consulting/eventprocessing/EventRepository.java17 symbols
parallel-operations/src/main/java/com/camunda/consulting/MyDelegates.java15 symbols
rollback-on-error-example/src/main/java/com/camunda/consulting/UserTaskService.java13 symbols
event-processing/src/main/java/com/camunda/consulting/eventprocessing/EventService.java13 symbols
event-processing/src/main/java/com/camunda/consulting/eventprocessing/Mapper.java12 symbols
zeebe-client-plain-java/src/main/java/io/camunda/zeebe/example/data/HandleVariablesAsPojo.java10 symbols
payment-example-process-application/src/test/java/com/camunda/consulting/web_shop_process_app/test/ProcessUnitTest.java10 symbols
event-processing/src/main/java/com/camunda/consulting/eventprocessing/EventController.java10 symbols
camunda-client-plain-java/src/main/java/io/camunda/example/data/HandleVariablesAsPojo.java10 symbols
twitter-review-java-springboot/src/main/java/org/camunda/community/examples/twitter/process/TwitterProcessVariables.java9 symbols

For agents

$ claude mcp add camunda-8-examples \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact