Scenario behaves differently when run step-by-step

Describe the issue/error/question

I’m running a workflow, as attached (the HTTP node is detached so it doesn’t actually send any data)

When I’m running it by ‘Execute workflow’ it stops at the airtable list node, resulting with zero items,
but when I’m running it step-by-step it works as expected - returning my data.

What is the error message (if any)?

Workflow reports a success, no messages on the console

Share the output returned by the last node

none

workflow

Information on your n8n setup

  • n8n version: 0.155.2
  • Database you’re using (default: SQLite): mariadb 10.7
  • Running n8n with the execution process [own(default), main]: default
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: docker

If you execute step by step then n8n reuses the data n8n has currently saved in the browser which is “pure” JSON. Meaning dates are saved as strings. If you run via “Execute Workflow” then n8n currently passes through exactly what you give it, which is in your example some kind of Date-Object.

To fix that, you have to make sure that start_date and end_date are set as strings on the “Set dates” node, so that the filter you create with that data on the node “Get Service plan” is valid and returns the expected result.

Btw. here is a workflow that makes maybe clearer what I am talking about. You will see the difference of the data on the Set node depending on how you execute it.

Just opened a PR to fix this issue in the future:

3 Likes

Thank you, that solves it.

Cheers