T
Twenty2mo ago
nogeo

stop a running workflow

problem: we see a workflow with a status Running for a long time (over 40 mins). The execution shouldn't take that long. 3 other workflows are enqueued and, from what i understand, can't start before the other run completes. sorry if it's a noob question, but how to stop a workflow run? deactivating the workflow didnt help. we're self-hosted v1.3.1 atm
5 Replies
Prastoin
Prastoin2mo ago
Hey unless I'm mistaken this is something that will be addressed in twenty v1.10 cc @thomast Especially if using the iterators
nogeo
nogeoOP2mo ago
Thanks @prastoin . Any way to stop a workflow in the meantime? It looks like the entire queue is stuck.
thomast
thomast2mo ago
Hi @nogeo, in theory you can have 100 workflows running so having one blocked workflow should not block the queue Here are a few check to unblock your queued workflows: - do you have your worker running? - in your redis, can you look for the key workflow-run-queued-count and if it exists what's the count - still in your redis, you can check the cron queue and check if you have the WorkflowRunEnqueueCron running
nogeo
nogeoOP2mo ago
thank you @thomast , later we saw that the next workflows were initiated as expected. Interestingly, the 3 runs after the "problematic one" are still shown as "enqueued" 2 days later
No description
thomast
thomast2mo ago
do you have WorkflowHandleStaledRunsCron running?

Did you find this page helpful?