#Stop running workflow

1 messages · Page 1 of 1 (latest)

jade waveBOT
#
Searched stop running workflow
#

Based on the documentation, there is currently no built-in way to stop a running workflow mid-execution in Twenty.

Here's what you can do instead:

To prevent future runs:

  • Deactivate the workflow by going to Settings → Workflows, finding your workflow, and toggling it off. This stops new runs from being triggered but won't stop runs already in progress.

For runs currently in progress:

  • Runs with status "Running" will continue until they complete, fail, or timeout
  • If a workflow is in "Waiting" status (e.g., paused on a Delay action or Form submission), deactivating the workflow will prevent it from continuing when the wait period ends

Workaround for long-running workflows:

  • Code actions have a maximum timeout of 15 minutes (configurable), so they will eventually stop if they exceed this limit

If you need to stop workflows before large operations like CSV imports, the recommended approach is to deactivate them beforehand:

  1. Go to Settings → Workflows
  2. Identify workflows triggered by the relevant object
  3. Deactivate them temporarily
  4. Perform your operation
  5. Reactivate when done
sonic seal
#

oh no, i set up a loop with array 20 number but, any number always fail. I want stop now

jade waveBOT
#
Searched stop cancel workflow run execution
#

Since your loop is failing on every iteration, the good news is that each failed iteration will stop that branch of execution. However, there's no built-in "cancel" or "stop" button for a running workflow in Twenty.

Here's what you can do right now:

  1. Deactivate the workflow immediately to prevent any new runs:

    • Go to Settings → Workflows
    • Find your workflow and toggle it off
  2. The current run will continue until it either:

    • Completes all 20 iterations (even if they all fail)
    • Hits a timeout (code actions have a max 15-minute timeout)

Since every number is failing, the workflow should move through the iterations relatively quickly as each failure stops that iteration's processing.

To debug the loop issue for next time:

  1. Go to Workflow Runs in the sidebar
  2. Click on the failed run
  3. Check the error message on the failing step to see what's going wrong

What error are you seeing on the failed iterations? That might help fix the underlying issue before you re-enable the workflow.

sonic seal
#

i know step fail, however this workflow is running in loop 4 and until end loop 20. Haizzz

jade waveBOT
#
Searched stop cancel running workflow loop execution