We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1edcda4 commit 13c09d2Copy full SHA for 13c09d2
utils/src/main/java/io/serverlessworkflow/utils/WorkflowUtils.java
@@ -181,7 +181,7 @@ private static List<String> getWorkflowConsumedEventsFromState(Workflow workflow
181
}
182
} else if (state instanceof CallbackState) {
183
CallbackState callbackState = (CallbackState) state;
184
- eventReferences.add(callbackState.getEventRef());
+ if (callbackState.getEventRef() != null) eventReferences.add(callbackState.getEventRef());
185
} else if (state instanceof EventState) {
186
EventState eventState = (EventState) state;
187
if (eventState.getOnEvents() != null) {
0 commit comments