Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/camunda-community-hub/camunda-7-spring-boot-tutorial-lafayette

This project is used as part of a video tutorial in order to show how you can use various features of Camunda in a spring boot application
https://github.com/camunda-community-hub/camunda-7-spring-boot-tutorial-lafayette

camunda-7 spring-boot

Last synced: about 1 month ago
JSON representation

This project is used as part of a video tutorial in order to show how you can use various features of Camunda in a spring boot application

Awesome Lists containing this project

README

        

# Camunda Platform 7 Spring Boot Tutorial Lafayette
This project is used as part of a video tutorial in order to show how you can use various features of Camunda 7 in a spring boot application.
Be aware that this is specific to Camunda 7 and concepts described here are not compatible with Camunda Platform 8.

![Video Tutorial Badge](https://img.shields.io/badge/Tutorial%20Reference%20Project-Tutorials%20for%20getting%20started%20with%20Camunda-%2338A3E1)
![Compatible with: Camunda Platform 7](https://img.shields.io/badge/Compatible%20with-Camunda%20Platform%207-26d07c)

You'll find the tutorial videos by clicking the image below

[![Camunda Spring Boot Tutorial](http://img.youtube.com/vi/WCznCZxHZ9k/0.jpg)](https://www.youtube.com/watch?v=sgcSm7YneTs&list=PLJG25HlmvsOVssaiPmavxv3htN_dXS3BW&index=1)

## What is this all about?
When creating example projects I like to ensure that the examples I use are as close to real world use cases as possible and so in this example we'll be building a process in which we can help one of my favourite historical figures [Gilbert du Motier, Marquis de Lafayette](https://en.wikipedia.org/wiki/Gilbert_du_Motier,_Marquis_de_Lafayette) to do what he does best - get involved in revolutions!

This is broken up into 4 parts and in the end we're looking a process that will help Lafayette with a more efficient way to ruin things for the French and British monarchy.

![process](./src/main/resources/images/laffProcessDiagram.png)

## What you will need
* [Java JDK 11](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html) so that you can run the Camunda Platform
* [Camunda Modeler](https://camunda.com/download/modeler/) for building and deploying BPMN Models
* An integrated development environment for Java like [IntelliJ IDEA](https://www.jetbrains.com/idea/download/)

## What will you learn?
* How to setup a spring boot project with Camunda
* Understanding the components of the project
* How to create forms and link them to user tasks
* How to write java classes that can be run by Service Tasks
* How to configure an XOR gateway based on process data
* How to configure non-interrupting timer events
* How to trigger and catch BPMN errors thrown from Java Code

### Part One: Lafayette's Departure
Using User tasks and Camunda Forms.
![LafayetteV1](./src/main/resources/images/LafayetteV1.png)

### Part Two: Lafayette Crosses the Ocean
Using Service Tasks, Java Classes and Gateways.
![LafayetteV2](./src/main/resources/images/LafayetteV2.png)

## Part Three: Lafayette Writes Home
Using Timers and User Tasks.
![LafayetteV3](./src/main/resources/images/LafayetteV3.png)

## Part Four: Disaster at Sea for Lafayette
Using Java to throw BPMN Error Events.
![LafayetteV4](./src/main/resources/images/LafayetteV4.png)