Events

Can a wait step have a webhook that can trigger to stop the wait and continue? An example usecase would be an alarm system which should only be trigger if a machine is stopped for more than an hour. The workflow would begin when the machine stops and then if it turns on again before that hour an external function would call the workflow webhook and cancel the workflow (or even better cause it to take different actions than the default path).
3 Replies
Seekerdasbatatas
Atm there's no event support, but it's planned before GA You can simulate events by nesting multiple workflows
apolodoro
apolodoroOP4w ago
And how would that nesting work? By triggering new workflows within workflows? Por cierto gracias por la rapidez en la respuesta!
tsion
tsion4w ago
I was going to ask a similar question - essentially, will it be possible to support push-based resuming in place of polling? Great to hear that it will be possible before GA (if I understood correctly)! Some things I want to do could be structured very elegantly once this becomes possible.
Want results from more Discord servers?
Add your server