Tctl command to terminate all the workflows starting with *abc*

As part of performance testing,

we create a ton of workflows.

Some times these workflows get stuck and we would want to terminate them.

Is there a tctl command to terminate all the workflows starting with abc

Does WorkflowID start from abc or workflow type?

Do you use ElasticSearch integration?

@Vikas_NS workflowIDs are keywords in ES, so we don’t support start with search.
What is your criteria for stuck in this case?

The only option would be to add custom search attribute of type Text and duplicate WorkflowId in it. But even in this case it won’t support queries like “start with” but it will support partial (by word) match.