We implemented some workflows which are returning retriable errors. Over time these have accumulated and now we have around 1000 workflows which are retrying. We want to terminate these as there is no reason to keep them retrying, but documentation is not clear about using tcl workflow terminate
using a query to filter by workflow type. Is this possible?
temporal workflow terminate --query=MyQuery
I mean, I am trying to find out how to build the query. when I go to the query command documentation there are no details about the kind of filters to use. I tried with --worfklow-type or WorkflowType=NameOfWorkflow with no luck
temporal workflow terminate --query “WorkflowType=‘NameOfWorkflow’”