I gave some data from my database and now I want to check something on it and sort it
but my if returns all false (when it has some true data)
when I click on test workflow or execute it from webhook all of my data is false but when I click on test step it returns 319 true and else false data(that is right)
this is what I gonna do
Hi @amir
thanks for reporting this.
It seems like there’s an issue in the if node that I reported internally and will be fixed asap.
In the meantime you could try a little workaround:
try to change you expression to {{ $json.createdAt.toString().split("T")[0] }}
This should force the date to a string and it should work correctly.
Do you encounter the issues both with the Customer Datastore (n8n training) and MondoDB node, or only in one case?
Could you send me the output of the MongoDB node? (you can remove sensitive data)
Which version of n8n are you using?