Delete Workflow
deleteWorkflow Mutation
Deletes a Workflow definition from the system.
Arguments
id
ID!
The unique identifier of the workflow to delete
Return Type
WorkflowDeletePayload! - Contains information about the deleted workflow.
Return Fields
WorkflowDeletePayload:
deletedID
ID
The ID of the deleted workflow
Usage Example
mutation {
deleteWorkflow(id: "workflow_123") {
deletedID
}
}JavaScript Example
Important Notes
Deleting a workflow definition will prevent new instances from being started
Existing running workflow instances may continue to execute until completion
This operation permanently removes the workflow definition and cannot be undone
Ensure proper authorization before performing this operation
Consider deactivating the workflow first to stop new instances before deletion
Associated workflow signals will be disassociated but not deleted
Review dependencies on this workflow before deletion to avoid breaking other processes
Last updated
Was this helpful?
