Code node this.getWorkflowStaticData is not a function on v1.86.0 (Docker on Windows) - persists after reinstall

##getWorkflowStaticData error: is not a function

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • **n8n version: 1.86
  • **Database (default: SQLite)
  • **n8n EXECUTIONS_PROCESS setting (default: local)
  • **Running n8n via Docker
  • **Operating system: WIN11

hello @blackstone

Correct syntax is const workflowStaticData = $getWorkflowStaticData('global');

See getWorkflowStaticData | n8n Docs

1 Like

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