> 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/processes/process-actions/process-actions-types/delete-records.md).

# Delete Records

### Generic Process Action properties

This action has generic properties, as other process actions:

* **Name** - give action a name in order to search for it easy, otherwise system will use ID of this Action.
* **Step** - the step action is added at. This property can't be edited manually, but it will be updated if move this action to other step or connector.
* **Type** - main property which determines what Action will do and it's configuration. Once action is created, type can't be changed.
* **Status** - you can activate or deactivate an action temporary (e.g., for debug).
* **Start Type** - can be set to "Before step" or "After step".&#x20;

{% hint style="info" %}
This option is available only when action is added to the step. If action is added to a connector, it will be executed like "After step", where step is the outgoing step of this connector.
{% endhint %}

* **Execute** - specify if Action will be executed always or when some conditions are matched.
* **Description** - used internally only for admin's goals.

### 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="/spaces/kkIfnKKNSULyGZ085PIG/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="/spaces/kkIfnKKNSULyGZ085PIG/files/GvH1EWAIwtzzvbBVF1NP" alt=""><figcaption></figcaption></figure>
