Workflow lifecycle hooks #526
Replies: 1 comment 2 replies
-
|
For now, the easiest thing to do is to just keep polling the -- I would love this. We've intentionally reserved the namepsacing in streams so that we could do "system" streams for each run where we automatically emit these lifecycle events that way, the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building something on top of Workflow and it would be helpful to have lifecycle hooks for events like "workflow started", "workflow completed", "workflow paused", etc. A practical example is triggering a workflow from a web UI and getting visual confirmation when the workflow is completed, without every workflow having to implement a completion signal at the end.
Ideally these would be callback functions (or steps?) that can access some basic data about the workflow and make network requests.
Any plans to bring something like this to Workflow?
Beta Was this translation helpful? Give feedback.
All reactions