n8n-io / n8n

Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
https://n8n.io
Other
47.56k stars 7.18k forks source link

Form Trigger does not wait in multi-form mode #11393

Open octionicsolutions opened 3 hours ago

octionicsolutions commented 3 hours ago

Bug Description

When having a node in between a Form Trigger and a New Form Page node, which takes longer than 2-3 seconds to load, the form reloads shortly after submission. The error happens both in test and production mode. Also then the canvas shows, that the next form page is still waiting to be answered: Screenshot 2024-10-24 at 3 26 34 PM This also happens with other nodes than Wait. Like having 3 Notion nodes which gather many DB pages or an Execute Command node.

It does not occur if there is a Wait node or similar between two New Form Page nodes though.

To Reproduce

  1. Create a form trigger with any parameters
  2. add a wait node or similar which takes around 5 seconds to execute
  3. add a new form page node with any parameters
  4. Run the workflow in test mode
  5. Submit the initial form

After 2-3 seconds the error should show up in the browser and the workflow should be stuck at the last node.

Expected behavior

The form trigger should wait for the following nodes longer (minimum 30 seconds would be suitable) and maybe show an appropriate error + cancel the workflow execution if it takes too long.

Operating System

Ubuntu 24.04 LTS

n8n Version

1.65.0

Node.js Version

20.18.0

Database

PostgreSQL

Execution mode

main (default)

Joffcom commented 3 hours ago

Hey @octionicsolutions,

We have created an internal ticket to look into this which we will be tracking as "GHC-344"