Problem with IF block or loop in a flow

Hello,

I have a GET request that not always get back the field I have linked to.
and I use this to check if the variable.

IF block

I don’t understand why the loop stops

I have another version where I have a IF block at the beginning of the FOR loop and it works great.

Hi @danielsoderlund

If you have a more zoomed out version of the flow it would help me understand how the pieces connect.

Are you trying to set your variable Invoice-product more than once in the flow/loop?

I solved it using the original flow. So we can close this thread. I’ll come back if I need to move the if node.