fix onStepAwaiting events (#7161)

This commit is contained in:
Carlos R. L. Rodrigues
2024-04-29 13:55:41 -03:00
committed by GitHub
parent 11517f0faf
commit edcafa140c
3 changed files with 10 additions and 6 deletions

View File

@@ -573,9 +573,7 @@ export class WorkflowOrchestratorService {
await notify({ eventType: "onStepAwaiting", step })
if (!step.definition.backgroundExecution) {
this.activeStepsCount--
}
this.activeStepsCount--
},
onCompensateStepSuccess: async ({ step, transaction }) => {