Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
7.12.0.GA
-
None
-
False
-
None
-
False
-
-
---
-
---
-
2022 Week 41-43 (from Oct 10), 2022 Week 44-46 (from Oct 31), 2022 Week 47-49 (from Nov 21), 2022 Week 50-02 (from Dec 12)
Description
Duplicate correlationkeyid while executing reusable subprocess through parallel gateway. This issue is reproducible only when we use PER_REQUEST strategy with executor enabled and with external DB(postgresql,Mysql,Oracle).
10:30:58,183 INFO [stdout] (Thread-3 (ActiveMQ-client-global-threads)) Dummy2 10:30:58,248 WARN [org.drools.persistence.PersistableRunner] (Thread-2 (ActiveMQ-client-global-threads)) Could not commit session: org.jbpm.workflow.instance.WorkflowRuntimeException: [DuplicateIssue.DuplicateIdIssue:101 - Parallel Task 1:7] -- CorrelationKey [name=fff:ff:DuplicateIssue.Dummy1:aa1e3c24-ff8f-4b32-b06b-f5c292c1b789, properties=[CorrelationPropertyInfo [name=null, value=fff:ff], CorrelationPropertyInfo [name=null, value=DuplicateIssue.Dummy1], CorrelationPropertyInfo [name=null, value=aa1e3c24-ff8f-4b32-b06b-f5c292c1b789]]] already exists at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:212) at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:414)
Complete stack trace attached.
Issue didnt occur with below scenarios:
- If we use H2 db
- if we disable executor with Per_Request strategy
- If we use Per_Process or singleton strategy