Hello, is programmatic workflow deletion supported with the dotnet sdk?
I tried running the following code:
var client = await TemporalClient.ConnectAsync(new TemporalClientConnectOptions
{
TargetHost = temporalAddress,
Namespace = "MyNamespace"
});
var handle = await client.StartWorkflowAsync(...
await client.Connection.WorkflowService.DeleteWorkflowExecutionAsync(
new DeleteWorkflowExecutionRequest
{
Namespace = "MyNamespace",
WorkflowExecution = new WorkflowExecution()
{
WorkflowId = handle.Id,
}
});
But am getting an error:
Unhandled exception. System.InvalidOperationException: Unknown RPC call DeleteWorkflowExecution
at Temporalio.Bridge.Client.CallAsync[T](RpcService service, String rpc, IMessage req, MessageParser`1 resp, Boolean retry, IEnumerable`1 metadata, Nullable`1 timeout, Nullable`1 cancellationToken)
Would appreciate any help, thank you! I am on version 0.1.0-beta1