M
Mastra•2w ago
arpitBhalla

bailing a step in forEach

I've a workflow with an array as input, which I need to iterate over, but if one of that loop element (nestedWorkflow) throws an error or calls bail it should not call next element, given concurrency is 1.
2 Replies
Mastra Triager
Mastra Triager•2w ago
šŸ“ Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10597 šŸ” If you're experiencing an error, please provide a minimal reproducible example whenever possible to help us resolve it quickly. šŸ™ Thank you for helping us improve Mastra!
Taofeeq
Taofeeq•5d ago
Hi @arpitBhalla , thanks for bringing this to our attention It is now fixed and will be in the next 1.0.0-beta and 0.x release

Did you find this page helpful?