waitForEvent

question about waitForEvent, sometimes, even the event is fired, the waitForEvent is still waiting. This happens to the workflow that has waited for more than 20 minutes, do I miss something? Is it because I put the waitForEvent inside a step.do?
1 Reply
Olga Silva
Olga Silva4w ago
Hey, are you putting a await step.waitForEvent() inside a await step.do() ? Why do you need this use case? You say that the workflow waited for more than 20 minutes. Is it waiting 20 minutes because you have a step.sleep() or is the waitForEvent waiting for more than 20 minutes inside the step.do ?

Did you find this page helpful?