cancelWorkflow
Audience: Programmer
Served by: workflow
Arguments
Name
Type
Default
Description
Returns
Example
Requests graceful cancellation of a running workflow execution. The target workflow receives a cancellation signal on its context and can run cleanup before terminating. Returns once the cancel request has been accepted by Temporal (not when the workflow has actually terminated).
mutation CancelWorkflow($input: CancelWorkflowInput!) {
cancelWorkflow(input: $input) {
workflowID
workflowRunID
}
}Variables
Last updated
Was this helpful?
