Skip to main content
This example shows how to cancel a running workflow execution in real-time. It demonstrates:
  1. Thread-based Execution: Running workflows in separate threads for non-blocking operation
  2. Dynamic Cancellation: Cancelling workflows while they’re actively running
  3. Cancellation Events: Handling and responding to cancellation events
  4. Status Tracking: Monitoring workflow status throughout execution and cancellation
workflow_cancellation.py