How we can terminate multiple workflows

Hi everyone,

I have some concerns about workflows

if we know something wrong happened, and workflow is stuck in a panic loop or some error loop, how we can terminate the workflows?. canceling is not working and I know we can terminate from the dashboard individually… but can we do this for bulk workflows or how we can handle these issues if it occurs?

Thanks in advance,
Junaid

The standard way to deal with this is to fix the bug and redeploy. You can also reset workflows to the previous state before the redeployment. It can be done by marking build as bad through CLI.

If you still want to terminate multiple workflows you can use batch operations. Note that they rely on enhanced visibility features that are available only when ElasticSearch is enabled.