Got stuck in an Infinite Loop. Any way to hard stop a workflow from executing?

Answered

Hi. I was testing a workflow while creating it and got stuck in an infinite while loop.

It was a panic situation as every time it looped an External API Request was being called and I desperately needed a manual way to interrupt the workflow to stop it.

In this instance, I changed the API Key of the external endpoint in the environment variable which I think resulted in exiting from the Loop.

However, I would like to know if there is a way to hard stop the workflow from executing in such a scenario. Might help if something goes wrong again.

5 replies