fix(wfe): add missing state in inmemory notify on run finished (#12987)

This commit is contained in:
Adrien de Peretti authored and GitHub committed 2025-07-18 11:25:02 +02:00
1 parent ed39a3742e
commit 7b1debfe12
2 files changed
+6

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/workflow-engine-inmemory": patch
---
fix(wfe): add missing state in inmemory notify on run finished
@@ -213,6 +213,7 @@ export class WorkflowOrchestratorService {
eventType: "onFinish",
workflowId,
transactionId: context.transactionId,
state: ret.transaction.getFlow().state as TransactionState,
result,
errors,
})