i have the following process definition i trie to execude on Camunda 7.24 / CibSeven 2.1 which currently logs during execution many OptimisticLockingException. i could already trace it down that it must have something to do with the multiInstanceLoopCharacteristics when running my subprocess in parallel and using exclusive=false to have real parallel execution of the subprocess and not sequential.
The entire process should solve the problem that too many parallel subprocesses are created and executed (this also has the problem with the OptimisticLockingException). so i want to process a huge collection of elements with max threads that can be configured when starting the process. therefor batches are created and they are processed sequentially while each batch itself is executed in parallel.
What can i do to not get the OptimisticLockingException and still have the result i want to achieve.
i do not want to simply ignore it even though it loooks that everything process wise itself works correct.
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.41.0">
<bpmn:process id="ParallelHelloWorldProcess" name="Parallel Hello World Process" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" name="Start">
<bpmn:outgoing>Flow_1</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:scriptTask id="ScriptTask_ParseInput" name="Parse Input and Create Batches" scriptFormat="javascript">
<bpmn:incoming>Flow_1</bpmn:incoming>
<bpmn:outgoing>Flow_3</bpmn:outgoing>
<bpmn:script>var inputString = "1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0";
var parallelism = 6;
// Parse numbers
var numbers = inputString.split(",").map(function(s) {
return parseInt(s.trim());
});
// Create batches based on parallelism
var batches = [];
for (var i = 0; i < numbers.length; i += parallelism) {
var batch = numbers.slice(i, i + parallelism);
batches.push(batch);
}
// Convert JavaScript array to Java ArrayList
var ArrayList = Java.type("java.util.ArrayList");
var javaBatches = new ArrayList();
for (var i = 0; i < batches.length; i++) {
var javaBatch = new ArrayList();
for (var j = 0; j < batches[i].length; j++) {
javaBatch.add(batches[i][j]);
}
javaBatches.add(javaBatch);
}
execution.setVariable("batches", javaBatches);
execution.setVariable("totalNumbers", numbers.length);
print("Parsed " + numbers.length + " numbers into " + javaBatches.size() + " batches with max parallelism " + parallelism);</bpmn:script>
</bpmn:scriptTask>
<bpmn:subProcess id="SubProcess_ProcessBatches" name="Process Batches">
<bpmn:incoming>Flow_3</bpmn:incoming>
<bpmn:outgoing>Flow_6</bpmn:outgoing>
<bpmn:multiInstanceLoopCharacteristics isSequential="true" camunda:collection="${batches}" camunda:elementVariable="currentBatch" />
<bpmn:startEvent id="StartEvent_Batch" name="Start Batch">
<bpmn:outgoing>Flow_Batch_1</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:scriptTask id="ScriptTask_BatchStart" name="Print Batch Start" scriptFormat="javascript">
<bpmn:incoming>Flow_Batch_1</bpmn:incoming>
<bpmn:outgoing>Flow_Batch_2</bpmn:outgoing>
<bpmn:script>var currentBatch = execution.getVariable("currentBatch");
var batchNumber = execution.getVariable("loopCounter") + 1;
var totalBatches = execution.getVariable("nrOfInstances");
print("========================================");
print("Starting Batch " + batchNumber + " of " + totalBatches);
print("Batch contains " + currentBatch.size() + " numbers: " + currentBatch);
print("========================================");</bpmn:script>
</bpmn:scriptTask>
<bpmn:subProcess id="SubProcess_ProcessNumber" name="Process Single Number">
<bpmn:incoming>Flow_Batch_2</bpmn:incoming>
<bpmn:outgoing>Flow_Batch_3</bpmn:outgoing>
<bpmn:multiInstanceLoopCharacteristics camunda:asyncBefore="true" camunda:asyncAfter="true" camunda:exclusive="false" camunda:collection="${currentBatch}" camunda:elementVariable="currentNumber">
<bpmn:extensionElements>
<camunda:failedJobRetryTimeCycle />
</bpmn:extensionElements>
</bpmn:multiInstanceLoopCharacteristics>
<bpmn:startEvent id="StartEvent_Number" name="Start Number">
<bpmn:outgoing>Flow_Number_1</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:scriptTask id="ScriptTask_FirstStep" name="First Processing Step" scriptFormat="javascript">
<bpmn:incoming>Flow_Number_1</bpmn:incoming>
<bpmn:outgoing>Flow_Number_2</bpmn:outgoing>
<bpmn:script>var number = execution.getVariable("currentNumber");
var message = "First Step: Processing number: " + number;
print(message);
// Store result for next step using LOCAL variable to avoid parent execution updates
execution.setVariableLocal("processedNumber", number * 2);
// Simulate some work
//java.lang.Thread.sleep(500);</bpmn:script>
</bpmn:scriptTask>
<bpmn:scriptTask id="ScriptTask_SecondStep" name="Second Processing Step" scriptFormat="javascript">
<bpmn:incoming>Flow_Number_2</bpmn:incoming>
<bpmn:outgoing>Flow_Number_3</bpmn:outgoing>
<bpmn:script>var number = execution.getVariable("currentNumber");
var processedNumber = execution.getVariable("processedNumber");
var message = "Second Step: Processing number: " + number + " (processed: " + processedNumber + ")";
print(message);
// Final result using LOCAL variable
execution.setVariableLocal("finalResult", processedNumber + 10);
// Simulate some work
//java.lang.Thread.sleep(500);</bpmn:script>
</bpmn:scriptTask>
<bpmn:endEvent id="EndEvent_Number" name="End Number">
<bpmn:incoming>Flow_Number_3</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_Number_1" sourceRef="StartEvent_Number" targetRef="ScriptTask_FirstStep" />
<bpmn:sequenceFlow id="Flow_Number_2" sourceRef="ScriptTask_FirstStep" targetRef="ScriptTask_SecondStep" />
<bpmn:sequenceFlow id="Flow_Number_3" sourceRef="ScriptTask_SecondStep" targetRef="EndEvent_Number" />
</bpmn:subProcess>
<bpmn:scriptTask id="ScriptTask_BatchEnd" name="Print Batch End" scriptFormat="javascript">
<bpmn:incoming>Flow_Batch_3</bpmn:incoming>
<bpmn:outgoing>Flow_Batch_4</bpmn:outgoing>
<bpmn:script>var currentBatch = execution.getVariable("currentBatch");
var batchNumber = execution.getVariable("loopCounter") + 1;
var totalBatches = execution.getVariable("nrOfInstances");
print("========================================");
print("Completed Batch " + batchNumber + " of " + totalBatches);
print("Processed " + currentBatch.size() + " numbers: " + currentBatch);
print("========================================");</bpmn:script>
</bpmn:scriptTask>
<bpmn:endEvent id="EndEvent_Batch" name="End Batch">
<bpmn:incoming>Flow_Batch_4</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_Batch_1" sourceRef="StartEvent_Batch" targetRef="ScriptTask_BatchStart" />
<bpmn:sequenceFlow id="Flow_Batch_2" sourceRef="ScriptTask_BatchStart" targetRef="SubProcess_ProcessNumber" />
<bpmn:sequenceFlow id="Flow_Batch_3" sourceRef="SubProcess_ProcessNumber" targetRef="ScriptTask_BatchEnd" />
<bpmn:sequenceFlow id="Flow_Batch_4" sourceRef="ScriptTask_BatchEnd" targetRef="EndEvent_Batch" />
</bpmn:subProcess>
<bpmn:endEvent id="EndEvent_1" name="End">
<bpmn:incoming>Flow_6</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_3" sourceRef="ScriptTask_ParseInput" targetRef="SubProcess_ProcessBatches" />
<bpmn:sequenceFlow id="Flow_6" sourceRef="SubProcess_ProcessBatches" targetRef="EndEvent_1" />
<bpmn:sequenceFlow id="Flow_1" sourceRef="StartEvent_1" targetRef="ScriptTask_ParseInput" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ParallelHelloWorldProcess">
<bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
<dc:Bounds x="152" y="162" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="158" y="205" width="24" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ScriptTask_ParseInput_di" bpmnElement="ScriptTask_ParseInput">
<dc:Bounds x="250" y="140" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SubProcess_ProcessBatches_di" bpmnElement="SubProcess_ProcessBatches" isExpanded="true">
<dc:Bounds x="440" y="80" width="990" height="200" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="StartEvent_Batch_di" bpmnElement="StartEvent_Batch">
<dc:Bounds x="472" y="162" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="463" y="205" width="54" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ScriptTask_BatchStart_di" bpmnElement="ScriptTask_BatchStart">
<dc:Bounds x="550" y="140" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="SubProcess_ProcessNumber_di" bpmnElement="SubProcess_ProcessNumber" isExpanded="true">
<dc:Bounds x="690" y="110" width="470" height="140" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="StartEvent_Number_di" bpmnElement="StartEvent_Number">
<dc:Bounds x="722" y="162" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="706" y="205" width="68" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ScriptTask_FirstStep_di" bpmnElement="ScriptTask_FirstStep">
<dc:Bounds x="810" y="140" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ScriptTask_SecondStep_di" bpmnElement="ScriptTask_SecondStep">
<dc:Bounds x="960" y="140" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_Number_di" bpmnElement="EndEvent_Number">
<dc:Bounds x="1102" y="162" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1078" y="205" width="63" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_Number_1_di" bpmnElement="Flow_Number_1">
<di:waypoint x="758" y="180" />
<di:waypoint x="810" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Number_2_di" bpmnElement="Flow_Number_2">
<di:waypoint x="910" y="180" />
<di:waypoint x="960" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Number_3_di" bpmnElement="Flow_Number_3">
<di:waypoint x="1060" y="180" />
<di:waypoint x="1102" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ScriptTask_BatchEnd_di" bpmnElement="ScriptTask_BatchEnd">
<dc:Bounds x="1200" y="140" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_Batch_di" bpmnElement="EndEvent_Batch">
<dc:Bounds x="1362" y="162" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1355" y="205" width="50" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_Batch_1_di" bpmnElement="Flow_Batch_1">
<di:waypoint x="508" y="180" />
<di:waypoint x="550" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Batch_2_di" bpmnElement="Flow_Batch_2">
<di:waypoint x="650" y="180" />
<di:waypoint x="690" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Batch_3_di" bpmnElement="Flow_Batch_3">
<di:waypoint x="1160" y="180" />
<di:waypoint x="1200" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Batch_4_di" bpmnElement="Flow_Batch_4">
<di:waypoint x="1300" y="180" />
<di:waypoint x="1362" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_1_di" bpmnElement="EndEvent_1">
<dc:Bounds x="1512" y="162" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1521" y="205" width="19" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_3_di" bpmnElement="Flow_3">
<di:waypoint x="350" y="180" />
<di:waypoint x="440" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_6_di" bpmnElement="Flow_6">
<di:waypoint x="1430" y="180" />
<di:waypoint x="1512" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1_di" bpmnElement="Flow_1">
<di:waypoint x="188" y="180" />
<di:waypoint x="250" y="180" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
Parsed 20 numbers into 4 batches with max parallelism 6
========================================
Starting Batch 1 of 4
Batch contains 6 numbers: [1, 2, 3, 4, 5, 6]
========================================
First Step: Processing number: 1
First Step: Processing number: 3
First Step: Processing number: 5
First Step: Processing number: 4
First Step: Processing number: 2
First Step: Processing number: 6
Second Step: Processing number: 3 (processed: 6)
Second Step: Processing number: 2 (processed: 4)
Second Step: Processing number: 1 (processed: 2)
Second Step: Processing number: 5 (processed: 10)
Second Step: Processing number: 4 (processed: 8)
Second Step: Processing number: 6 (processed: 12)
2025-11-21T15:19:14.552+01:00 WARN 424319 --- [web-ui] [taskExecutor186] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0eb7006a-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.552+01:00 WARN 424319 --- [web-ui] [taskExecutor190] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0eb7006c-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.552+01:00 WARN 424319 --- [web-ui] [taskExecutor188] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0eb7006e-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.552+01:00 WARN 424319 --- [web-ui] [taskExecutor191] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0eb8600a-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.552+01:00 WARN 424319 --- [web-ui] [taskExecutor187] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0eb70068-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.567+01:00 WARN 424319 --- [web-ui] [taskExecutor193] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0eb70068-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.567+01:00 WARN 424319 --- [web-ui] [taskExecutor192] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0eb7006a-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.568+01:00 WARN 424319 --- [web-ui] [taskExecutor194] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0eb7006e-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.573+01:00 WARN 424319 --- [web-ui] [taskExecutor196] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0eb8600a-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.584+01:00 WARN 424319 --- [web-ui] [taskExecutor198] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0eb70068-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.586+01:00 WARN 424319 --- [web-ui] [taskExecutor199] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0eb7006e-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.613+01:00 WARN 424319 --- [web-ui] [taskExecutor202] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0eb7006e-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
========================================
Completed Batch 1 of 4
Processed 6 numbers: [1, 2, 3, 4, 5, 6]
========================================
========================================
Starting Batch 2 of 4
Batch contains 6 numbers: [7, 8, 9, 0, 1, 2]
========================================
First Step: Processing number: 0
First Step: Processing number: 1
First Step: Processing number: 8
First Step: Processing number: 7
First Step: Processing number: 2
First Step: Processing number: 9
Second Step: Processing number: 7 (processed: 14)
Second Step: Processing number: 1 (processed: 2)
Second Step: Processing number: 8 (processed: 16)
Second Step: Processing number: 0 (processed: 0)
Second Step: Processing number: 2 (processed: 4)
Second Step: Processing number: 9 (processed: 18)
2025-11-21T15:19:14.752+01:00 WARN 424319 --- [web-ui] [taskExecutor213] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ed86bfe-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.752+01:00 WARN 424319 --- [web-ui] [taskExecutor211] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ed86bf6-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.754+01:00 WARN 424319 --- [web-ui] [taskExecutor210] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ed844df-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.756+01:00 WARN 424319 --- [web-ui] [taskExecutor214] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ed86c01-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.765+01:00 WARN 424319 --- [web-ui] [taskExecutor217] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ed86bfe-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.766+01:00 WARN 424319 --- [web-ui] [taskExecutor218] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ed844df-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.771+01:00 WARN 424319 --- [web-ui] [taskExecutor216] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ed86bf6-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.782+01:00 WARN 424319 --- [web-ui] [taskExecutor220] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ed86bfe-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
========================================
Completed Batch 2 of 4
Processed 6 numbers: [7, 8, 9, 0, 1, 2]
========================================
========================================
Starting Batch 3 of 4
Batch contains 6 numbers: [3, 4, 5, 6, 7, 8]
========================================
First Step: Processing number: 7
First Step: Processing number: 6
First Step: Processing number: 5
First Step: Processing number: 3
First Step: Processing number: 4
First Step: Processing number: 8
Second Step: Processing number: 7 (processed: 14)
Second Step: Processing number: 6 (processed: 12)
Second Step: Processing number: 3 (processed: 6)
Second Step: Processing number: 5 (processed: 10)
Second Step: Processing number: 4 (processed: 8)
Second Step: Processing number: 8 (processed: 16)
2025-11-21T15:19:14.947+01:00 WARN 424319 --- [web-ui] [taskExecutor235] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef605f0-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.947+01:00 WARN 424319 --- [web-ui] [taskExecutor233] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef605e3-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.947+01:00 WARN 424319 --- [web-ui] [taskExecutor234] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef605e9-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.948+01:00 WARN 424319 --- [web-ui] [taskExecutor232] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef5decc-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.951+01:00 WARN 424319 --- [web-ui] [taskExecutor231] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef5dec6-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.972+01:00 WARN 424319 --- [web-ui] [taskExecutor236] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef605e3-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.972+01:00 WARN 424319 --- [web-ui] [taskExecutor239] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef5decc-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.972+01:00 WARN 424319 --- [web-ui] [taskExecutor240] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef5dec6-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.972+01:00 WARN 424319 --- [web-ui] [taskExecutor238] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef605f0-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.983+01:00 WARN 424319 --- [web-ui] [taskExecutor243] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef5dec6-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.984+01:00 WARN 424319 --- [web-ui] [taskExecutor241] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef5decc-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.986+01:00 WARN 424319 --- [web-ui] [taskExecutor242] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef605e3-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.995+01:00 WARN 424319 --- [web-ui] [taskExecutor247] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef605e3-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:14.995+01:00 WARN 424319 --- [web-ui] [taskExecutor245] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef5dec6-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
2025-11-21T15:19:15.014+01:00 WARN 424319 --- [web-ui] [taskExecutor248] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0ef5dec6-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
========================================
Completed Batch 3 of 4
Processed 6 numbers: [3, 4, 5, 6, 7, 8]
========================================
========================================
Starting Batch 4 of 4
Batch contains 2 numbers: [9, 0]
========================================
First Step: Processing number: 9
First Step: Processing number: 0
Second Step: Processing number: 0 (processed: 0)
Second Step: Processing number: 9 (processed: 18)
2025-11-21T15:19:15.154+01:00 WARN 424319 --- [web-ui] [taskExecutor253] org.cibseven.bpm.engine.jobexecutor : ENGINE-14006 Exception while executing job 0f15e99b-c6e5-11f0-bec5-00155d5fa2dd: OptimisticLockingException. To see the full stacktrace set logging level to DEBUG.
========================================
Completed Batch 4 of 4
Processed 2 numbers: [9, 0]
========================================