How do I fix this?
Every trigger I use on all of my workflows, I always get the error “Workflow execution had an error
Error: Cannot read properties of undefined (reading ‘execute’)”. I dont have any part of my workflows with the value “execute”. It doesn’t matter what nodes are in the workflow, as long as there is an n8n trigger nod it just doesn’t run. I am updated to the latest version of n8n and I am self hosted using Railway.com. Thanks
Hi
Could you attach the workflow JSON? What version of n8n are you running?
Latest version. It is a problem for all of my workflows even simple ones
Could you try setting the EXECUTIONS_PROCESS environment variable to main- ( I saw this mentioned in other threads.)
For Railway.com deployment, you would need to add or modify this environment variable in your Railway service settings:
EXECUTIONS_PROCESS=main
Give this a try and let us know if it makes a difference.
Hey so after a bit more trial and error, it appaears that once I add an AI agent node in, it gives me the error, but just a trigger and function node works fine.
I would give the EXECUTION_PROCESS suggestion a try. Similar issue reported here:
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.