From ded6a07a370037065d84ad0b9b77a42c3002645f Mon Sep 17 00:00:00 2001 From: Francisco Javier Tirado Sarti Date: Tue, 30 Jan 2024 17:40:48 +0100 Subject: [PATCH] [Fix_#3384] Including business key on process instance state event --- .../org/kie/kogito/event/impl/ProcessInstanceEventBatch.java | 1 + 1 file changed, 1 insertion(+) diff --git a/api/kogito-events-core/src/main/java/org/kie/kogito/event/impl/ProcessInstanceEventBatch.java b/api/kogito-events-core/src/main/java/org/kie/kogito/event/impl/ProcessInstanceEventBatch.java index 96a34dba476..4f153ec5fd9 100644 --- a/api/kogito-events-core/src/main/java/org/kie/kogito/event/impl/ProcessInstanceEventBatch.java +++ b/api/kogito-events-core/src/main/java/org/kie/kogito/event/impl/ProcessInstanceEventBatch.java @@ -309,6 +309,7 @@ private ProcessInstanceStateDataEvent toProcessInstanceStateEvent(ProcessEvent e .rootProcessId(pi.getRootProcessId()) .rootProcessInstanceId(pi.getRootProcessInstanceId()) .state(event.getProcessInstance().getState()) + .businessKey(pi.getBusinessKey()) .slaDueDate(pi.getSlaDueDate()); String securityRoles = (String) event.getProcessInstance().getProcess().getMetaData().get("securityRoles");