Posts

Showing posts with the label Englsh

Camunda LDAP Integration – Complete Guide (Configuration, Common Issues & Best Practices)

 Integrating Camunda BPM with LDAP / Active Directory is a very common enterprise requirement for centralized user authentication and authorization. While Camunda provides built-in LDAP support, misconfiguration often leads to login failures, missing groups, or authorization issues in production . This blog explains: How Camunda LDAP integration works Where to configure LDAP A working configuration example Common problems and their fixes Production best practices 1️⃣ Why Integrate Camunda with LDAP? LDAP integration allows Camunda to: Authenticate users against Active Directory / LDAP Synchronize users and groups Apply group-based authorizations Avoid local Camunda user management 👉 Almost all enterprise Camunda deployments use LDAP. 2️⃣ Where to Configure LDAP in Camunda 7 LDAP configuration is done in: đź“„ bpm-platform.xml (Location depends on app server: Tomcat / WildFly / JBoss) Example (Tomcat): $CAMUNDA_HOME /conf/bpm-platform.xm...

Camunda 7 External Task Retry Not Working – Fix

Camunda 7 External Task Retry Not Working – Root Cause & Fix (Production Guide) External Tasks are widely used in Camunda 7 to decouple business logic from the process engine. However, a very common production issue teams face is: ❌ External Task retries are not working as expected. In this blog, we’ll cover why retries fail , real root causes , and how to fix them safely in production . 1️⃣ How External Task Retry Works in Camunda 7 In Camunda 7, retries are controlled by: retries count lockDuration lockExpirationTime Failure handling logic in the worker A retry happens only when the worker explicitly reports failure . 2️⃣ Most Common Reasons Retries Don’t Work ❌ 1. handleFailure() Not Called Correctly Wrong implementation (very common): try { // business logic } catch (Exception e) { throw e; // ❌ This does NOT trigger retry } Correct implementation: externalTaskService.handleFailure( externalTask, "Processing failed...