/Camunda-7-Run-Tutorial-Lafayette

This is tutorial which helps people understand how to build and deploy processes to the Camunda Platform Run distrobution.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Camunda 7 Run Tutorial Lafayette

This project is used as part of a video tutorial in order to show how you can build a Camunda process for the Camunda Platform 7 Run distribution. Be sure to check the version of Camunda you're using because a lot of what is detailed here will only work for Camunda Platform 7 and not Camunda Platform 8.

Video Tutorial Badge Compatible with: Camunda Platform 7

You can click below to follow the complete tutorial for this project.

Camunda Platfrom 7 Run Tutorial

What is this all about?

In other examples I've created a process to help Gilbert du Motier, Marquis de Lafayette get involved in his favorite pass time of overthrowing monarchies. Now it's only fair that we help him as he tries to escape revolutionary France.

The process is broken up into 4 parts and in the end our dear friend Lafayette will not be able to escape some kind of incarceration, but at least we can get him there will some efficiency.

laf

What You will Need

What You will Learn

  • Setup a Camunda Platform Run project
  • Understand all the required components
  • How to create forms for User Tasks
  • How to create External Task Workers in JavaScript
  • How to configure XOR gateways based on process data
  • How to configure non-interupting timer events
  • How to catch BPMN errors thrown from a JavaScript Worker

Part One: Lafayette Prepares for Escape

Creating Camunda forms to be used in User Tasks

LaffV1

Part Two: Lafayette sends for help

Creating an XOR gateway and adding a JavaScript worker

LaffV2

Part Three: Lafayette tries to escape

Use a timer and a boundary event on a user task LaffV3

Part Four

Throw an error with from a JavaScript worker and catch it on a boundary event LaffV4