Is there a reason WorkflowBuilder doesn't emit Workflow Events? #4332
Unanswered
MaguireKrist-ITK
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When following the tutorial on workflows you're told about Executors and how you can chain them together with Workflows. You are also told about the events a workflow can emit. HOWEVER, it appears that the Workflow events:
// Workflow lifecycle events
WorkflowStartedEvent // Workflow execution begins
WorkflowOutputEvent // Workflow outputs data
WorkflowErrorEvent // Workflow encounters an error
WorkflowWarningEvent // Workflow encountered a warning
only get triggered when running a workflow with AgentWorkflowBuilder not with WorkflowBuilder.
Example:
The above will not emit a WorkflowOutputEvent...
But the following does:
And it's not clear at ALL in the documentation as to why.... any help here?
Beta Was this translation helpful? Give feedback.
All reactions