You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Executing the Cancel Endpoint of the ELSA 3 REST API there is an Exception stating that there is no handler for CancelWorkflowsCommand available.
So Cancelling is not possible via REST.
Is this a known issue?
Find the Stacktrace and screenshot of Swagger result below:
System.InvalidOperationException: There isnohandler to handle the Elsa.Workflows.Runtime.Commands.CancelWorkflowsCommand command
at Elsa.Mediator.Middleware.Command.Components.CommandHandlerInvokerMiddleware.InvokeAsync(CommandContextcontext)
at Elsa.Mediator.Middleware.Command.CommandPipeline.InvokeAsync(CommandContextcontext)
at Elsa.Mediator.Services.DefaultMediator.SendAsync(ICommandcommand,ICommandStrategystrategy,CancellationTokencancellationToken)
at Elsa.Workflows.Runtime.BackgroundWorkflowCancellationDispatcher.DispatchAsync(DispatchCancelWorkflowRequestrequest,CancellationTokencancellationToken)
at Elsa.Workflows.Runtime.WorkflowCancellationService.CancelWorkflows(IList`1workflowInstances,CancellationTokencancellationToken)
at Elsa.Workflows.Runtime.WorkflowCancellationService.CancelWorkflowAsync(StringworkflowInstanceId,CancellationTokencancellationToken)
at Elsa.Workflows.Api.Endpoints.WorkflowInstances.Cancel.Cancel.HandleAsync(Requestrequest,CancellationTokencancellationToken)
at FastEndpoints.Endpoint`2.ExecAsync(CancellationTokenct)
at FastEndpoints.Endpoint`2.ExecAsync(CancellationTokenct)
at NSwag.AspNetCore.Middlewares.SwaggerUiIndexMiddleware.Invoke(HttpContextcontext)
at NSwag.AspNetCore.Middlewares.RedirectToIndexMiddleware.Invoke(HttpContextcontext)
at NSwag.AspNetCore.Middlewares.SwaggerUiIndexMiddleware.Invoke(HttpContextcontext)
at NSwag.AspNetCore.Middlewares.RedirectToIndexMiddleware.Invoke(HttpContextcontext)
at NSwag.AspNetCore.Middlewares.OpenApiDocumentMiddleware.Invoke(HttpContextcontext)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContextcontext)`
The text was updated successfully, but these errors were encountered:
Description
When Executing the Cancel Endpoint of the ELSA 3 REST API there is an Exception stating that there is no handler for CancelWorkflowsCommand available.
So Cancelling is not possible via REST.
Is this a known issue?
Find the Stacktrace and screenshot of Swagger result below:
The text was updated successfully, but these errors were encountered: