You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The addEventListener method of the RuntimeService interface, which receives an event type parameter, accepts an implementation class FlowableEngineEventType rather than interface FlowableEventType.
@Configuration@RequiredArgsConstructorpublicclassFlowableListenerConfig {
privatefinalRuntimeServiceruntimeService;
privatefinalCustomListenerlistener;
@PostConstructpublicvoidinit() {
// This line results in a compilation error.runtimeService.addEventListener(listener, RdmFlowableEventType.STEP_TASK_ENTERED);
}
Additional context
Flowable V6.8.0 With SpringBoot.
The text was updated successfully, but these errors were encountered:
Describe the bug
The
addEventListener
method of theRuntimeService
interface, which receives an event type parameter, accepts an implementation classFlowableEngineEventType
rather than interfaceFlowableEventType
.Expected behavior
Change the parameter type from
FlowableEngineEventType
toFlowableEventType
.Code
Custom event type enumeration class:
RdmFlowableEventType
.Config Custom Listener With SpringBoot.
Additional context
Flowable V6.8.0 With SpringBoot.
The text was updated successfully, but these errors were encountered: