Workflow keeps running after calling stop API, despite receiving success response #18265
JackIliffe
started this conversation in
General
Replies: 1 comment
-
|
I found a similar unsolved discussion that might be helpful: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
Describe the bug
After starting a workflow using the Dify API, I called the
/v1/workflow/runs/{id}/stopendpoint to stop it.The API responded with
{"result": "success"}, but the workflow continued running and executing the next steps.Expected behavior
The workflow should stop immediately after the stop API is called, and the status should be updated accordingly (e.g., to
stoppedorterminated).Actual behavior
The API returns a success response, but the workflow continues to run as if nothing happened.
Steps to reproduce
POST /v1/workflow/runs/{run_id}/stopwith the correct run ID.Environment
Beta Was this translation helpful? Give feedback.
All reactions