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");