I have an workflow that loops over an array 7 times and it works but after seven times, when the loop ends the if stmt doesn’t return the current json as usual but an empty object.
Fun part: If I test the stmt manually it works - it returns the current json in the false branche. But if run the workflow the result is empty.
Here is my workflow (I removed the business logic from the loop, the result is the same):
Here’s the reworked workflow to demonstrate the correctly displayed data.
While this workaround puts everything in place, it does not answer the question why the input of the last Set node is empty when the node is connected to False output of IF node despite having data presented in IF node.