You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have pretty odd situation with the IF node. I have set it to check if some value is greater than 1, I see that the value is actually a number, but the node keeps saying that it is a string
It looks like your input has a new line character at the start and a space, By removing these string values it is then correctly using a number.
In your JSON this looks like this "=\n {{ $json.modifiedDaysAgo }}", This looks to be more like a typo than a bug. I am going to mark this as closed, Let me know if once removing the extra characters you still have the same issue.
Bug Description
I have pretty odd situation with the IF node. I have set it to check if some value is greater than 1, I see that the value is actually a number, but the node keeps saying that it is a string
To Reproduce
copy the workflow
Expected behavior
the IF node should treat the number as a number...
Operating System
Cloud / Docker
n8n Version
1.41.1
Node.js Version
dunno
Database
SQLite (default)
Execution mode
main (default)
The text was updated successfully, but these errors were encountered: