> For the complete documentation index, see [llms.txt](https://docs.flexikanban.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flexikanban.ai/components/actions-action-groups/best-practices/how-to-use-execute-in-background-option.md).

# !! How to use Execute in background option

"Execute in background" option can be checked for the "Call Apex", "Callout", "Create Record", "Update Records"  and "Delete Records" actions . It allows to execute action asynchronously. It may help in case if the action can not be executed in the current context.

{% hint style="info" %}
If the asynchronous process fails - user won't get error message on UI. The error will be sent to the email address that is responsible for receiving background errors (see it in Flexi Kanban [Basic Settings](/references/application-settings.md)) or to the current user email address.
{% endhint %}

<img src="https://3097383375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK2dgObBO5ydOH2ZXDJLa%2Fuploads%2FGKeXV4XOrKh4WWLU2wTY%2Ffile.excalidraw.svg?alt=media&amp;token=40b01391-347f-4a27-b9b5-4efd70c2b0fc" alt="" class="gitbook-drawing">

When "Execute in background" selected you can set a gap which system will wait before starting to run the action. Gap value should be in minutes.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flexikanban.ai/components/actions-action-groups/best-practices/how-to-use-execute-in-background-option.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
