Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Customer Onboarding Process

Process solution example for customer onboarding as used in the OReilly book Practical Process Automation.

Customer Onboarding

This following stack is used:

  • Camunda Platform 8
  • Java 17
  • Spring Boot 3


This simple onboarding process is meant to get started with process automation, workflow engines and BPMN.

The process model contains three tasks:

  • A service task that executes Java Code to score customers (using the stateless Camunda DMN engine)
  • A user task so that humans can approve customer orders (or not)
  • A service task that executes glue code to call the REST API of a CRM system

The process solution is a Maven project and contains:

  • The onboarding process model as BPMN
  • Source code to provide a REST endpoint for clients
  • Java code to do the customer scoring
  • Glue code to implement the REST call to the CRM system
  • Fake for CRM system providing a REST API that can be called (to allow running this example self-contained)

How To Run


Create Camunda Platform 8 Cluster

The easiest way to try out Camunda is to create a cluster in the SaaS environment:

  • Login to (you can create an account on the fly)
  • Create a new cluster
  • Create a new set of API client credentials
  • Copy the client credentials into src/main/resources/

Run Spring Boot Java Application

The application will deploy the process model during startup

mvn package exec:java


You can easily use the application by requesting a new customer onboarding posting a PUT REST request to

curl -X PUT http://localhost:8080/customer

You can now see the process instance in Camunda Operate - linked via the Cloud Console.

You can work on the user task using Camunda Tasklist, also linked via the Cloud Console.

Extended Process

There is also an extended process model that adds some more tasks in the process:

Customer Onboarding

You can find that in another repository on GitHub:


A simple onboarding process example using BPMN, Camunda Cloud, Java, Spring Boot and REST







No releases published


No packages published