Posts

Spring Boot + Camunda 8 Integration Example

 Integrating Spring Boot with Camunda 8 allows developers to build scalable, cloud-native workflow applications where business processes (BPMN) are executed by external workers written in Java. In this blog, we’ll walk through a simple end-to-end integration example using Camunda 8 , Zeebe, and Spring Boot. 🔹 1. What Changes in Camunda 8? Unlike Camunda 7, Camunda 8 follows a decoupled architecture : BPMN runs in the Zeebe engine Business logic runs in external Job Workers Spring Boot apps connect via the Zeebe client Communication is event-driven and asynchronous 👉 There is no embedded engine inside Spring Boot in Camunda 8. 🔹 2. Architecture Overview Flow: BPMN process deployed to Camunda 8 Service Task creates a Job (with a type) Spring Boot Job Worker subscribes to that type Worker executes logic and updates process variables 🔹 3. Prerequisites Java 17+ Spring Boot 3+ Camunda 8 (Self-Managed or SaaS) Camunda Modeler ...

Camunda 8 – Service Task avec Java

 Dans Camunda 8 , les Service Tasks ne sont plus exĂ©cutĂ©es de manière embarquĂ©e comme dans Camunda 7. Elles sont traitĂ©es par des Job Workers externes , ce qui permet une architecture cloud-native, scalable et dĂ©couplĂ©e . Avec Spring Boot , l’annotation @JobWorker est la manière la plus simple et la plus propre d’implĂ©menter un Service Task en Java. Cette architecture est couramment utilisĂ©e dans les environnements microservices modernes. 👉  environnements microservices modernes 🔹 1. Principe de fonctionnement Dans Camunda 8 : Un Service Task BPMN crĂ©e un Job Le Job est identifiĂ© par un type Un Job Worker Java s’abonne Ă  ce type Le worker exĂ©cute la logique mĂ©tier et met Ă  jour les variables 👉 Le type du Service Task dans le BPMN doit correspondre exactement au type dĂ©fini dans @JobWorker . 🔹 2. Configuration du Service Task dans BPMN Dans Camunda Modeler : Ajouter un Service Task Implementation : Job Worker Type : payment-worker (ex...

Camunda 8 Service Task with Java

 In Camunda 8, a Service Task is executed by a Job Worker (external worker). In Spring Boot, the easiest way to implement this is with @JobWorker , where the job type (a.k.a. task type) in the BPMN matches the worker’s type . This blog shows a complete working example: BPMN service task → Java worker → update variables → handle failures . 1) BPMN: Configure the Service Task (Job Type) In Camunda Modeler: Add a Service Task Set Implementation to Job Worker (or “External” depending on Modeler version) Set Type to: payment-worker (example) (Optional) Set Retries : 3 Important: The Type must match the Java worker annotation: @JobWorker(type = "payment-worker") 2) Spring Boot Dependencies (Maven) Use Camunda 8 Spring Boot starter (Zeebe): < dependency > < groupId >io.camunda </ groupId > < artifactId >spring-boot-starter-camunda </ artifactId > </ dependency > If you’re using an older setup, you may see io...

Camunda 8 DMN vs Camunda 7 DMN – DiffĂ©rences clĂ©s

 La Decision Model and Notation (DMN) est un standard permettant de modĂ©liser et d’automatiser des règles mĂ©tier de manière claire et maintenable. Les versions Camunda 7 et Camunda 8 , proposĂ©es par Camunda , prennent en charge DMN, mais avec des diffĂ©rences importantes au niveau de l’architecture, du moteur d’exĂ©cution et du langage d’expression. Cet article explique les diffĂ©rences essentielles entre DMN dans Camunda 7 et Camunda 8 afin d’aider les Ă©quipes techniques Ă  mieux comprendre les impacts lors d’une migration. Cette architecture est couramment utilisĂ©e dans les environnements microservices modernes. 👉  environnements microservices modernes 🔹 1. Architecture et moteur d’exĂ©cution La diffĂ©rence la plus fondamentale concerne l’architecture : Camunda 7 repose sur un moteur Java monolithique, gĂ©nĂ©ralement intĂ©grĂ© dans une application Spring Boot ou exĂ©cutĂ© sur un serveur applicatif. Camunda 8 s’appuie sur le moteur Zeebe , conçu pour une exĂ©cution cloud-...

Camunda 8 DMN vs Camunda 7 DMN – Key Differences

Decision Model and Notation (DMN) is a standards-based way to define, manage and automate business decisions that are part of your process automation solution. Both Camunda 7 and Camunda 8 support DMN, but there are important differences in how DMN is executed, modelled and integrated in the newer version. 🎯 1. Underlying Engine and Architecture One of the most fundamental differences between Camunda 7 and Camunda 8 — and therefore for DMN — is the engine architecture: Camunda 7 is built on the traditional Java-based process engine. Camunda 8 uses the Zeebe engine, designed for cloud-native, scalable execution of both BPMN and DMN models. This means that in Camunda 8, DMN execution is part of a distributed, horizontally scalable decision engine, whereas in Camunda 7 it runs in a monolithic embedded or server-based JVM. This foundational change influences performance and how decision models are deployed and scaled. đź§  2. Expression Language Used in DMN A key technical differe...

IntĂ©gration de Liferay avec jBPM – Guide Complet

Image
 Introduction Les entreprises utilisent souvent Liferay comme une puissante plateforme de portail et de gestion de contenu, tandis que jBPM sert de moteur robuste de workflow et de gestion des processus mĂ©tier (BPM). Lorsqu’ils sont intĂ©grĂ©s, Liferay peut agir comme le portail front-end , et jBPM comme le moteur de workflow , permettant des flux d’approbation, la gestion de cas, l’automatisation des dĂ©cisions et l’orchestration mĂ©tier. Dans ce blog, nous allons explorer: Pourquoi intĂ©grer Liferay avec jBPM L’architecture globale Les approches d’intĂ©gration Des cas d’utilisation rĂ©els Les Ă©tapes d’intĂ©gration Les bonnes pratiques Cette architecture est couramment utilisĂ©e dans les environnements microservices modernes. 👉  environnements microservices modernes Pourquoi intĂ©grer Liferay avec jBPM ? Liferay gère l’interface utilisateur, les portails, les utilisateurs, les rĂ´les, les permissions et le contenu , tandis que jBPM gère la logique des processus, les workflows, les rè...

Liferay with jBPM Workflow Integration – Complete Guide

Image
  Introduction Enterprises often use Liferay as a powerful portal and content management platform, while jBPM serves as a robust workflow and business process management (BPM) engine. When integrated together, Liferay can act as the front-end portal and jBPM as the workflow engine , enabling approval flows, case management, decision automation, and business orchestration. In this blog, we will explore: Why integrate Liferay with jBPM Architecture overview Integration approaches Sample use cases Step-by-step integration outline Best practices Why Integrate Liferay with jBPM? Liferay handles UI, portals, users, roles, permissions, and content , while jBPM handles process logic, workflows, rules, and decisions . Key Benefits Separation of concerns: UI in Liferay, workflow in jBPM BPMN 2.0 based workflows Flexible REST integration Decision automation using DMN Scalable and loosely coupled architecture High-Level Architecture Flow User performs an action in Liferay (e.g., submits a ...