I can't read data inside a Loop

Angelical 02 May, 2023
I need help. I am using a Loop to read data from the database.
In the where conditions of the read data I am filtering by the ID of the table against the Loop.value.model.field_ID.

The problem is that it is repeating all the cycles with the first ID obtained from the Loop. If the Loop counts 5 items, it shows me data repeated 5 times.

I have printed the Loop.value.model.field_ID and it reads them all fine, but when I try to read data, it only reads the first ID and repeats the same data the number of times the Loop runs.

Please, help me.
You need to login to be able to post a reply.