Hi, does anyone knows if there's a way to set a fl...
# ask-community
t
Hi, does anyone knows if there's a way to set a flowrun directly to Cancelled? My worker is already killed and it is stuck in "Cancelling" now. Marvin's answer seems to be hallucinating a UI element lol
n
i think what its suggesting in the UI basically exists, it got some words wrong to force it, marvin's suggested use of the SDK is what I'd say
t
huh, maybe I am on a lower version of prefect?
Actually I see it, but
Change State
only appears on flowrun with a terminal state, for `Cancelling`it does not show up.
n
hmmm i will take a look, what server version are you on?
t
Copy code
❯ prefect version
Version:              3.4.17
API version:          0.8.4
Python version:       3.13.7
Git commit:           7804f5f7
Built:                Fri, Sep 05, 2025 07:11 PM
OS/Arch:              darwin/arm64
Profile:              local
Server type:          server
Pydantic version:     2.11.7
Server:
  Database:           sqlite
  SQLite version:     3.50.4
Integrations:
  prefect-slack:      0.3.1
  prefect-github:     0.3.1
I just patched some of my worker's docker image so runners are on 3.4.20, I don't think that would be the issue though