> For the complete documentation index, see [llms.txt](https://docs.work-relay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.work-relay.com/automations/global-actions-and-action-groups/types/delete-records.md).

# Delete Records

### Generic Global Action properties

This action has generic properties, as other global actions:

* **Name** - give Action a name in order to search for it easy, otherwise system will use ID of this Action.
* **Type** (Rule or Action) - this is mandatory. Select "Action".
* **ID** - given by system after saving a new Action first time.
* **Status** - you can activate or deactivate an action temporary (e.g., for debug).
* **Context Object Type** - a data source which fields can be used in Action [conditions](/automations/queries-and-conditions/working-with-conditions/conditions-overview.md) and properties.
* **Action Type** - main property which determines what Action will do and it's configuration. [Explore all action types here](/automations/global-actions-and-action-groups/types.md).
* **Execute** - specify if Action will be executed always or when some conditions are matched.&#x20;

<figure><img src="/files/Wyr0epEhpQbqgP9w7cC9" alt=""><figcaption></figcaption></figure>

### Overview

**Delete Record** action allows to change a record or a bunch of records.

### Configuration

* Select the **Object Name** - this will be an object which you will delete record for.
* Populate **Conditions** that should be matched by records. If do not specify conditions, ALL available records will be deleted in the same way.

{% hint style="info" %}
Salesforce automatically restrict number of bulk deletions to 100 records, if do not set limits.
{% endhint %}

* Specify **Conditions Logic** if needed.
* Specify **Limit** of records to delete in one time. If set too big value, you may undergo system limitations.

<figure><img src="/files/GmaTsyxClYLjfTA5yOZx" alt=""><figcaption></figcaption></figure>

#### **Configure background execution**

* Check **Execute in background** if you need to execute this action in other context than current user operation. See more info at [How to use "Execute in Background" feature](https://app.gitbook.com/o/0zHyyR0TFOv6bVLRE1y2/sites/site_4yKrA/s/kkIfnKKNSULyGZ085PIG/~/edit/~/changes/89/global-actions-and-action-groups/using-actions/how-to-use-execute-in-background-feature). If check this option, the new field will appear:
  * **With gap**: by default it is 0, but can be set as an integer number of minutes. This field specifies interval before action execution (for repeated actions - before each iteration).

<figure><img src="/files/GvH1EWAIwtzzvbBVF1NP" alt=""><figcaption></figcaption></figure>
