seeing the following error on foreach that I beli...
# ask-metaflow
h
seeing the following error on foreach that I believe occurs when the list to be iterated over is empty
Copy code
Invalid self.next() transition detected on line 52:
    Foreach iterator over table_batches in step start produced zero splits. Check your variable.
1
I see 2.18+ supports conditionals, but I think we are still on 2.18, any workaround?
a
foreaches require at least one element
you can add a no-op entry to your list and handle that in the foreach step?
h
Ah, that could work, will try to get us updated to 2.18 in the meantime