Filter node

I have an issue that the filter node does not forward items that meet the filter criteria during the automatic workflow execution. When run manually (clicked on the execute button above the filter node), the filter sends these items.
Does anybody has an idea what could be the issue?

n8nVersion: 1.114.4

  • platform: docker (cloud)

  • nodeJsVersion: 22.19.0

  • nodeEnv: production

  • database: sqlite

  • executionMode: regular

  • concurrency: 5

  • license: community

hey @Matej55 welcome to n8n community.

could you share workflow with sample pinned data. So I can help you with it?

Now it’s even more confusing. If I pin the sample data in the FTP node, the workflow works correctly. Without the pinned data, it doesn’t reach the IF node, even though the FTP node shows that the data was successfully passed.

I am not able to paste the whole worklfow here.

what is output of first filter?

if it is not returning anything you can try setting it to always return output.

I am getting two different results as you can see in bellow examples.

Automatic execution via start workflow:

Manual execution (Execute step)

do like this:

this will make filter return empty json and it will make flow continue.

I also tried this setting. The setting ensures that the flow completes its run, but with an incorrect (empty) value.
It is strange that the node returns different values when run manually and automatically.

well it is difficult to understand just from picture what may be wrong.

If you share workflow with pinned data I might be able to help.

I am not able to paste the code here. So I uploaded json file to google drive https://drive.google.com/file/d/1WWstRZeWZwMN3LC7iOkuVTExmd_Ord48/view?usp=sharing

I found the issue - if I deleted bellow mentioned condition, automatic workflow works correctly. I replace it with similar condition.

I still think that it is a bug - because manual execution worked fine but automatic workflow stopped without any error.

          "leftValue": "={{ $json.modifyTime.split('T')\[0\] }}",
          "rightValue": "={{ $today.toISODate() }}\\n",
          "operator": {
            "type": "dateTime",
            "operation": "equals"
2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.