← The Signal

What Does Stop Actually Stop in an AI Workflow?

A cancelled chat can leave a background job running. Give operators a control whose scope and remaining work they can actually understand.

By · AI-assisted editorial · Method & corrections

Kooya’s mascot lowers a lime barrier across a branching task network while completed parcels remain on a separate shelf. Conceptual illustration.FIELD NOTE / AI workflow cancellation stop controls Philippines
EXECUTIVE SIGNALS
  • Separate a stop request from confirmed cessation of work.
  • Document queued, running and externally accepted actions separately.
  • Preserve evidence of completed effects that may need a later decision.
  • Restart should be an explicit authorised transition, not an accidental retry.
01

Choose the scope before designing the button

Consider a hypothetical Philippine distributor using AI to prepare supplier follow-ups. A supervisor spots the wrong purchase-order reference and presses Stop. The chat stops producing text, but a background worker still holds a prepared message and an external delivery request may already have been accepted. The visible control has done less than the supervisor expected.

Kooya recommends defining three scopes: stop one request, pause one workflow’s new work, and suspend a wider class of automated actions. An operator should know which scope applies before using the control. A targeted request cancellation should not silently disable unrelated service, while a broader incident pause needs a clearly named owner.

Write the intended effect in ordinary language. For this example: prevent further supplier messages for this request, identify any message already handed to the delivery service, and show who will resolve uncertain outcomes. That statement is more useful than an unexplained status labelled cancelled.

02

Understand the difference between requesting and forcing a stop

Temporal’s official documentation distinguishes cooperative cancellation, which gives workflow code an opportunity to handle the request and perform implemented cleanup, from termination, which closes execution without that cleanup. It also explains that activity cancellation delivery depends on heartbeats and can be delayed. These are platform-specific semantics, not universal definitions for every AI service.[1]

AWS Step Functions similarly documents a boundary for its synchronous service integrations: when a task is aborted, it makes a best-effort attempt to cancel the integrated task. Cancellation can fail because of permissions or service availability, potentially leaving additional charges. Stopping the orchestrator is therefore not sufficient evidence about every downstream job.[2]

Kooya’s recommendation is to inspect the exact components in your own workflow. For each one, record whether cancellation is supported, how it is acknowledged, what state can remain and which person can verify the result. Do not promise immediate cessation if the integration cannot demonstrate it.

03

Close the paths that can start more work

At the point of a stop request, prevent queued tasks from becoming new external actions for that request. Kooya recommends checking the current cancellation state at the execution boundary, not only when work first enters the queue. A task waiting for review or capacity may otherwise proceed using an earlier permission to continue.

Keep a durable request identifier connecting the conversation, queued tasks and external references. The operator should be able to inspect this relationship without reconstructing it from model-generated prose. Record the stop requester, reason and time, and distinguish what was observed from what remains unknown.

Late events need a defined route. If a callback arrives after cancellation, it should update the evidence about what happened without automatically restarting the cancelled workflow. A message saying the external operation completed is important information; it is not fresh authority to perform the next action.

04

Show what remains instead of declaring a false finish

Kooya recommends a compact stop summary: new actions blocked, running tasks awaiting acknowledgement, external operations requiring confirmation, and completed effects. Use labels that match actual evidence. If a supplier notification may already have left the system, tell the operator that its delivery needs checking rather than presenting a blanket success state.

Assign unresolved items to an owner with a next inspection time. The correct response may be to wait for a service result, contact the relevant operational team or arrange a business correction. Keep that decision separate from the technical act of stopping more work.

Avoid automatically undoing everything. A completed record update or customer communication may have legitimate consequences that now require judgment. The stop control should preserve the references needed for that judgment, not erase the history to make the interface appear clean.

Use the AI workflow recovery guide when a completed action needs an authorised business correction.

05

Prove cancellation and restart with an acceptance exercise

Ask the implementation team to demonstrate a stop while the workflow is queued, while a model is running, immediately before an external action and after the destination has accepted it. Use test records and simulated communications. For every case, inspect both the workflow status and the destination evidence.

Include delayed acknowledgement, a missing cancellation permission and a late callback. Verify that the operator can tell which work ended and which remains unresolved. This is a proposed acceptance exercise, not a claim that any particular vendor guarantees all those behaviours.

Finally, rehearse restart. Kooya recommends an explicit authorised transition with a clear choice between resuming permitted remaining work and starting a new request. Check whether earlier approvals are still valid and whether any action already completed. A fresh start should not silently replay old messages or commitments.

Give the person on duty a short runbook that names the control, scope, confirmation evidence and escalation contact. A stop mechanism is operationally useful when someone other than its developer can use it, understand the remaining uncertainty and keep the business request under accountable control.

FREQUENT SIGNALS

QUESTIONS PEOPLE ACTUALLY ASK.

Does closing the chat window cancel a background task?

Do not assume so. Confirm the application’s documented behaviour and inspect the background task’s status. Interface visibility and execution state are separate concerns.

Should we always use immediate termination?

No universal rule fits every workflow. Forced termination can bypass cleanup. Choose the documented operation that matches the incident and account for any effects left behind.

Does cancellation undo a completed action?

Not automatically. Completed changes may need a separate authorised correction, with evidence from the destination system.

What should the user see when cancellation is uncertain?

Show that new work is blocked, identify the outstanding operation and name its owner. Avoid claiming the entire request is cancelled until the relevant evidence supports it.

SOURCE DESK

PRIMARY SOURCES, NOT VIBES.

  1. Cancellation and Termination — official documentation sourceTemporal · Documentation reviewed 8 November 2026
  2. Discover service integration patterns in Step FunctionsAmazon Web Services · Documentation reviewed 8 November 2026
FROM READING TO BUILDING

MAKE THE WORK MOVE.

KEEP FOLLOWING THE SIGNAL