Sean・Esprit De Corps - Is it possible to nest l...
Is it possible to nest loops inside of other loops?
Basically just have a workouts object that has a nested array of exercises inside of it.
I have no issue looping over the workout object but for some reason when it comes to that second loop, for whatever reason things go catty whompus and the records that are added to my Supabase just all read undefined.
I added a set variable node as the first step to the second loop and for some reason I guess the loop node isn't actually breaking up the nested array and is instead passing through the entire array
I had it set variables so I could see that I am mapping to the correct spot


3 Replies
Edit: seem to have gotten it? Didn't change anything with the logic but used a loop node from earlier in the flow that was working and now it seems to be working magically lol. Not sure if it's a bug
Shazam! was the loop node on the initial flow, which wasn't working earlier, was a legacy flow, or copied?
Yessir it was earlier in the original flow
One thing I did notice, super small but made a mental note:
Whenever you click into the editor box (shown in first screenshot) and try to set the variables ans close out it still showes the fxeditor inside of the actual loop node
But for some reason when you click the pencil icon next to it, even though its in the same box, if you set it that way it actually maps to the actual array and reflects that in the node
Just a small observation though, im still v new to the platform (day 2 lol) so I might just be dumb