Ā© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
bailing a step in forEach - Mastra
M
Mastra
ā¢
4mo ago
ā¢
2 replies
arpitBhalla
bailing a step in forEach
Workflows
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
bail
it should not call next element
, given concurrency is 1
.
Mastra
Join
The TypeScript Agent FrameworkFrom the team that brought you Gatsby: prototype and productionize AI features with a modern JavaScript stack.
5,321
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Invalid path in step
M
Mastra / help-bugs-problems
11mo ago
Too many tool calls in a single step
M
Mastra / help-bugs-problems
5mo ago