Code block: No output nor console.log

When writing javascript in a code block it does not return my value nor does it log anything in the console.

  • Node says the workflow executed successfully, but nothing happens.

Information on your n8n setup

  • on Staging → Self Hosted

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

You’re not showing your entire code but I do spy an else at the top of the page. So my guess is the code just never enters this branch. Hard to say anything else without more information about the conditions.

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