Collect fix

This commit is contained in:
Brage Skjønborg 2026-02-02 03:17:46 +01:00
parent 2979924068
commit 1116f80066

View File

@ -19,9 +19,7 @@ class CollectEventsListener : EventListener() {
// Must have a StartProcessingEvent
if (projection.startedWith == null) return null
// Must be allowed to store (Auto or Manual + AllowCompletion)
if (!projection.isStorePermitted()) return null
// Must have all relevant tasks completed
if (!projection.isWorkflowComplete()) return null