Fix HttpEndpointMiddleware multiple workflow execution
This commit is contained in:
parent
6f8990def2
commit
5338196e77
|
|
@ -82,7 +82,7 @@ namespace Elsa.Activities.Http.Middleware
|
|||
if (useDispatch)
|
||||
await workflowLaunchpad.DispatchPendingWorkflowAsync(pendingWorkflow, inputModel, cancellationToken);
|
||||
else
|
||||
await workflowLaunchpad.ExecutePendingWorkflowsAsync(pendingWorkflows, inputModel, cancellationToken);
|
||||
await workflowLaunchpad.ExecutePendingWorkflowAsync(pendingWorkflow, inputModel, cancellationToken);
|
||||
}
|
||||
|
||||
if (pendingWorkflows.Count > 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue