Hi @samerbahri98
When you do not have any items this goes wrong indeed.
Have you tried with actual items going into the node? Seems to work fine for me when adding items
Could be understanding the problem incorrectly. Sorry if that is the case.
I think I am understanding the issue incorrectly.
I’ve disabled the function. And tried it with noOps behind the IF so it is instantly clear what is happening. Seems to be fine, What happens when you do the same:
Hi @samerbahri98
I Am not sure if there was an issue to be honest, could be looking at it wrong.
In this post you show that it returns true, but it is empty because there is no data in it. This is the same for me and should be correct?
Adding the nodes after the IF just visualizes the flow better and with that the result of the IF. Especially because you have an Item without any data in it.
That is it, the output shows it was true not false so it is working as expected. If there was data going through it or a noop coming off it the output would be clearer.
@BramKn no it didn’t return true at that screenshot, I said yes as in yes I am sure it is saying false while the json data is empty (referencing the previous question @Jon asked me)