fix(wfe): add missing state in inmemory notify on run finished (#12987)
This commit is contained in:
1 parent
ed39a3742e
commit
7b1debfe12
2 files changed
+6
No files matched your search
@@ -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",
|
eventType: "onFinish",
|
||||||
workflowId,
|
workflowId,
|
||||||
transactionId: context.transactionId,
|
transactionId: context.transactionId,
|
||||||
|
state: ret.transaction.getFlow().state as TransactionState,
|
||||||
result,
|
result,
|
||||||
errors,
|
errors,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in new issue
Block a user