Workflow streaming output
Is there a reason that the workflow streamvnext workflow-finish objectoutput does not have the output to the whole workflow? Is the way we should be doing this to tell our front end the final step id so we can render the output?

3 Replies
📝 Created GitHub issue: https://github.com/mastra-ai/mastra/issues/9570
GitHub
[DISCORD:1433685655342415913] Workflow streaming output · Issue #9...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1433685655342415913 Is there a reason that the workflow streamvnext workflow-finish objectoutput does not ...
Hi @wiz2202 ! You can have several step results in one workflow run depending on how your workflow is built, so, yes, you need to look at the
workflow-step-result chunks 😉@Romain I see, but we can only have 1 workflow-finish right? I guess what I’m confused abt is why workflow-finish wouldn’t return the workflow output. If that were the case then I could always render the workflow finish object in the frontend. Since it’s not in that object, I have to state which steps output we should be rendering in the complete state. Not a big deal, but just seemed like an added step of complexity and wasn’t sure why