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

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

View File

@@ -0,0 +1,5 @@
---
"@medusajs/workflow-engine-inmemory": patch
---
fix(wfe): add missing state in inmemory notify on run finished

View File

@@ -213,6 +213,7 @@ export class WorkflowOrchestratorService {
eventType: "onFinish",
workflowId,
transactionId: context.transactionId,
state: ret.transaction.getFlow().state as TransactionState,
result,
errors,
})