How to use state when using `foreach`
if inputData is
[1,2] and in subWorkflow1, I do setState it should be passed to subWorkflow2. (RequestContext works fine.)
(š actual code)
Output ->
2 Replies
š Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10472
š 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!
š Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10474
š 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!
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