Wait for webhook call for under 65 seconds

Describe the problem/error/question

I’m trying to resume a Wait node on either a webhook call OR after 10 seconds.
If the webhook is not called, the wait node will continue execution after around 55 seconds, not after the set 10 seconds.

This is probably due to configureAndPutToWait not checking for “under 65 seconds” (like execute() does).

Suggestion: Maybe show a hint that only minute-precision is possible in this case? Or also use setTimeout here?

On a related note: The wait node documentation still mentions $resumeWebhookUrl, but looking at the code it seems to be deprecated in favor of $execution.resumeUrl.

What is the error message (if any)?

No error message, the wait node just continues execution long after the set time interval.

Information on your n8n setup

  • n8n version: 1.41.1
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu 20

Hi @henk23 ,

Thank you so much for pointing these out! :muscle:

The Wait Node and documentation definitely need to be updated to account for both these scenarios. I’ll escalate this and start a PR proposal to highlight these factors.

:heart_hands:

1 Like

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