elsa-core
elsa-core copied to clipboard
Cancel running workflows
Discussed in https://github.com/elsa-workflows/elsa-core/discussions/3053
Originally posted by gor8808 May 22, 2022 I have this workflow
While(true) |(iterate)| Writeline()
When I cancel this workflow (after execution) using this endpoint -- /v1/workflow-instances/{id}/cancel it still keeps executing(printing to console)
Can you specify what means canceling the instance and in which cases it cancels the instance? BTW I can't find any docs regarding canceling endpoint
See also: #3163
We are running into this often, as we need to cancel running workflows. We are having to forcibly kill the pod instance in order to kill the workflow. Is there also a way to know what worker instance(host) the workflow is currently running on?
Will the same endpoint be used or do you plan to create a new one?
@payoff not sure who you are asking that towards, nor what you are referring to. Why would there be a new cancel endpoint built into Elsa?
@sfmskywalker after using Elsa for some time. We're also finding that a workflow may say faulted in the dashboard, but if we view the node's log; an activity is still logging to console.