I published a new version of my workflow on n8n. However, when I check the executions of my flow after publishing, it is still executing the old version of my flow.
What is the error message (if any)?
Please share your workflow
(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.)
Based on the info you have given, I am assuming you are using queue mode.
If you self-host n8n with EXECUTIONS_MODE=queue, restart the main n8n instance and worker processes to clear in-memory cached workflow states:
# Docker Compose restart for n8n main and workers
docker compose restart n8n n8n-worker
What you encountered is likely due to this:
Jobs already enqueued in Redis before you hit “Publish” will finish executing using the version payload present when the trigger fired.
In n8n, saving a workflow does not automatically update the active production version; you must explicitly Publish it.
If you have already clicked “Publish” and it is still running the old version, the most common cause is a caching/deployment lag in Queue Mode or a failure to activate the workflow toggle.
Hi @Abhinav_Jotiram_Shin Welcome!
Export what n8n actually has stored as the published version and compare it against your editor, that settles whether the publish landed at all: