1 of 30

Orchestrate your most complex business processes

SCaLE 21x, 2024

1

2 of 30

Poll

  • How many use microservice architectures?

  • Anyone struggled to explain data flow/logic to business team (or other engineers)?

  • Anyone heard of BPMN? DMN? BPM?

  • Anyone heard of Camunda?

3 of 30

Who am I?

Nathan Loding

@NathanLoding

nathan.loding@camunda.com

  • he/him�
  • 20 years in software�
  • Developer Advocate @ Camunda�
  • Oreo enthusiast�
  • Wannabe chess player

4 of 30

Agenda

CAMUNDA SLIDE TEMPLATE UPDATE

  • Goals for this workshop
  • Exercise One: Creating a Camunda 8 Cluster
  • Introduction to Process Orchestration and BPMN
  • Exercise Two: Build a process
  • Overview of problem to solve: loan origination
  • Exercise Three: Model the loan origination process
  • Connecting BPMN to code
  • Exercise Four: Configuring REST calls
  • Bonus: Build External Worker
  • DMN and rules tables
  • Exercise Five: Implement DMN tables
  • Q&A + Roadmap

4

5 of 30

Goal for the day:

Understanding of process orchestration and BPMN

5

6 of 30

Important Links

6

7 of 30

Exercise One: �Creating a Camunda 8 Cluster

7

8 of 30

Image: (Cloudinary) https://dev.to/alex_barashkov/microservices-vs-monolith-architecture-4l1m

9 of 30

Modern architecture designs are great at optimizing resource usage …

10 of 30

… now diagram the business logic / data flow …

11 of 30

12 of 30

13 of 30

Hard problems to solve

Documentation

Timers

Interrupting messages

Changes to business logic

Data flow diagrams look like spaghetti

Alerts, stuck/idle processes, notifications

Your application is already executing code, but something has changed and you need to interrupt it and handle it differently

All your services are running nicely together, but now a new service is added that integrates with other existing services …

14 of 30

Forget services and infrastructure. Let’s think about it in terms of processes

15 of 30

Interlude:�The importance of processes. A magical demonstration.

15

16 of 30

Camunda - The Universal Process Orchestrator

Complex process flows across �people, systems and devices.

Your organization toward�a digital future.

Any process, anywhere.

Orchestrate

Automate

Transform

Collaborate

Flexibility

All �Endpoints

Human Work

Business Rules

RPA

AI

IoT

API

Micro�Services

Systems�(legacy + homegrown)

17 of 30

17

18 of 30

Zeebe Architecture

18

Broker

Broker

Broker

Zeebe Cluster

gRPC Gateway

Microservices / Apps

Zeebe Client

19 of 30

Introducing BPMN

Maintained spec

Visualization

Bridge communication

ISO/IEC 19510 spec maintained by OMG (Object Management Group)

Easily understand complex processes; no more spaghetti!

Simplify discussions with stakeholders; unify design and implementation

Business Process Model and Notation

20 of 30

Exercise Two: Build a Process

20

21 of 30

Exercise Three: �Model the loan origination process

21

22 of 30

Connecting BPMN with your application

23 of 30

23

24 of 30

Development vs. Smart low Code

Development

Smart Low Code

  • Using “clue code”, Camunda’s interfaces
  • Coding the business logic
  • Testing
  • Creating Connectors/ Element Templates

  • Connectoren
  • Configuration of single technical fields (Citizen developers)
  • Technical attributes

24

Important: It is a not a either or! Both need to go hand in hand for a successful process automation

25 of 30

Exercise Four: �Service Tasks: Connectors and Job Workers

25

26 of 30

DMN and rules engines

27 of 30

Exercise Five: �Implement DMN tables

27

28 of 30

That was easy!

29 of 30

Let’s review

BPMN

BPMN Engines

Simplified management

Open spec that defines processes in an organized, understandable way

Execute the process as drawn, connecting tasks to external services. State of each process is controlled by the engine, not the application.

Easily add additional tasks without changing existing application; engines provide management tools to monitor performance etc.

1

2

3

30 of 30