For each not working as part of process

Hi all

I have this in part of a process:

It works perfectly well when it’s run by itself but doesn’t work at all when it’s joined up with the rest of the process.

Has anyone ever had this before? I have no idea why it doesn’t work

Thanks!

Hi @Short

Please elaborate with the exact error you are getting when trying to run the code wholesome.
As you say that the loop works fine when run independently, hence there are high chances that something above this might be causing the issue but more details would help us to find the root cause.

Thanks and Regards

Rajat