diff --git a/api/kogito-events-core/src/main/java/org/kie/kogito/event/process/MultipleProcessInstanceDataEvent.java b/api/kogito-events-core/src/main/java/org/kie/kogito/event/process/MultipleProcessInstanceDataEvent.java index 38e6d50b951..7db8c0e7659 100644 --- a/api/kogito-events-core/src/main/java/org/kie/kogito/event/process/MultipleProcessInstanceDataEvent.java +++ b/api/kogito-events-core/src/main/java/org/kie/kogito/event/process/MultipleProcessInstanceDataEvent.java @@ -23,10 +23,12 @@ public class MultipleProcessInstanceDataEvent extends ProcessInstanceDataEvent>> { + public static final String TYPE = "MultipleProcessInstanceDataEvent"; + public MultipleProcessInstanceDataEvent() { } public MultipleProcessInstanceDataEvent(URI source, Collection> body) { - super("MultipleProcessInstanceDataEvent", source, body); + super(TYPE, source, body); } } diff --git a/api/kogito-events-core/src/main/java/org/kie/kogito/event/usertask/MultipleUserTaskInstanceDataEvent.java b/api/kogito-events-core/src/main/java/org/kie/kogito/event/usertask/MultipleUserTaskInstanceDataEvent.java index fd5bd48ed40..b2b62c61d83 100644 --- a/api/kogito-events-core/src/main/java/org/kie/kogito/event/usertask/MultipleUserTaskInstanceDataEvent.java +++ b/api/kogito-events-core/src/main/java/org/kie/kogito/event/usertask/MultipleUserTaskInstanceDataEvent.java @@ -23,10 +23,12 @@ public class MultipleUserTaskInstanceDataEvent extends UserTaskInstanceDataEvent>> { + public static final String TYPE = "MultipleUserTaskInstanceDataEvent"; + public MultipleUserTaskInstanceDataEvent() { } public MultipleUserTaskInstanceDataEvent(URI source, Collection> body) { - super("MultipleUserTaskInstanceDataEvent", source, body); + super(TYPE, source, body); } }