Describe the problem/error/question
I have a workflow where it will check if node fails 3 times it will go back to beginning of the workflow. I made it go back to beginning of the workflow so it can restart but the $runIndex doesn’t reset it will constantly match the condition. Is there anyway to reset $runIndex when it goes back to beginning of the workflow?
What is the error message (if any)?
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- **n8n version: 1.98.2
- **Database (default: SQLite): default
- **n8n EXECUTIONS_PROCESS setting (default: own, main): default
- **Running n8n via (Docker, npm, n8n cloud, desktop app): npm
- **Operating system: Windows Server 2022