> For the complete documentation index, see [llms.txt](https://docs.zerowork.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zerowork.io/building-blocks/logic/abort-run.md).

# Abort Run

<figure><picture><source srcset="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-062c95d21ef28d0b7298524eab20caef9b4e4864%2Fabort-run-tile-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-a25af5e3496433e0cb96cff2eab9a542f0cb112f%2Fabort-run-tile.png?alt=media" alt="Abort Run block" width="279"></picture><figcaption></figcaption></figure>

The **Abort Run** building block stops the TaskBot run immediately.

#### **Example**

It could be useful to abort TaskBot run if a certain condition is met (or not met).

For example, if certain critical data is not found or does not exist, you can add **Abort Run** to terminate your TaskBot run.

<figure><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2FLIpjbhLjSYTHM48yV0BB%2FScreenshot%202024-12-30%20at%2011.01.43.png?alt=media&amp;token=873990ea-d5fd-4a9a-8220-38a048637906" alt=""><figcaption></figcaption></figure>
