Use the workflowAutomationStopWorkflowRun mutation to stop a running workflow.
Input parameters
Parameter | Data type | Description |
|---|---|---|
| Number | (Required) Your account ID. |
| String | (Required) The unique identifier of the workflow run to stop. Obtained from the |
Sample request
mutation { workflowAutomationStopWorkflowRun( accountId: 12345678 runId: "7ffbe082-8efa-4d3d-901a-a08bcf22bcd3" ) { runId }}Sample response
The mutation returns:
runId: The unique identifier of the stopped workflow run. Returns an emptyrunIdif the workflow is not found.