The IF node is not performing the correct filtering. Parameters with no value on the exists condition skip empty values, when in the old IF node the “if not empty” rule discarded those values that were empty. Accordingly, there is no analog of if not empty in the new if node, I think this is a bug.
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
**n8n version:1.24.1
**Database (default: SQLite):default
**n8n EXECUTIONS_PROCESS setting (default: own, main):main
**Running n8n via (Docker, npm, n8n cloud, desktop app):Docker
**Operating system:Linux
BramKn
Janeiro 19, 2024, 7:54am
2
Hi @lightcom
I think you are looking for the object type
BramKn
Janeiro 19, 2024, 8:01am
4
ah ok, so yeah I cannot copy this workflow for some reason. So cannot test for ya.
Hi @lightcom , thanks a million for reporting this and thanks @BramKn for looking into this!
To be honest, I am not sure if this is a bug or an intended change, but I shall add this to our engineering backlog for a closer look. I’ll get back to you once I know more
yeah thanks, i find that strange behavior when filtered google sheets result. next immediately report about this.
Mulen
Janeiro 29, 2024, 12:23pm
9
@BramKn
How to check in the following scenario if SKU is empty?
Everything i tried it is not working!
BramKn
Janeiro 29, 2024, 3:11pm
10
Hi @Mulen
Please open a new topic if you have a question, also please do not tag me directly for new questions.
If you want my support please dm me for a support contract.
Mulen
Janeiro 29, 2024, 3:24pm
11
Sorry. I posted here because it’s the exact same problem @lightcom has.
similar behavior
Please use if node of previous version if you have n8n on your server, I found a way to use old node in my case.
Good news on this one folks: The following change adds corresponding operators to the new node as well:
master ← node-1072-is-not-empty-operation-missing-from-latest-if-node
opened 02:15PM - 25 Jan 24 UTC
## Summary
<img width="1136" alt="image" src="https://github.com/n8n-io/n8n/a… ssets/8850410/127b2836-51bb-4002-af65-6b799e2ceacf">
- New operators should work as expected
- Empty operators in old and new If node should behave the same (use workflow JSON from linear to check)
## Related tickets and issues
https://linear.app/n8n/issue/NODE-1072/is-not-empty-operation-missing-from-latest-if-node
## Review / Merge checklist
- [ ] PR title and summary are descriptive. **Remember, the title automatically goes into the changelog. Use `(no-changelog)` otherwise.** ([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up ticket created.
- [ ] Tests included.
> A bug is not considered fixed, unless a test is added to prevent it from happening again.
> A feature is not complete without tests.
Once you upgrade to n8n 1.27.2 you should be able to avail of this