capabilities.work

Cancel a Running Orchestration Execution

A 3-step recipe with Workday Extend. We can help you get access.

Recipe · 3 steps

Cancel a Running Orchestration Execution

Locate a running execution, cancel it, and poll until cancellation completes.

  1. List executions filtered to the running status, taking the most recent one as the cancellation target.
  2. Cancel the running execution. Steps currently in progress may complete before cancellation takes effect.
  3. Poll the execution record until it leaves the running state, confirming the cancellation has taken effect.
What you'll need to have ready
  • orchestrationId: The unique identifier of the orchestration whose run should be cancelled.
For your developer

Arazzo workflow workday-extend:cancel-running-execution, 3 operations: listOrchestrationExecutions → cancelOrchestrationExecution → getOrchestrationExecution. Specs on APIs.io.