> 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/service-backup-of-types/delete-records.md).

# Delete Records

"Delete Record" Action allows to change a record or a bunch of records.

{% stepper %}
{% step %}

## Add the action

Add an action with the **type** = Action (1) and **Action Type** = Delete Records (2). See more info about creating Actions in [Working with actions](/automations/global-actions-and-action-groups/basics/working-with-actions.md#how-to-create-an-action) article.
{% endstep %}

{% step %}

## Select the object

Select the **object** (3) which you are going to delete record from.
{% endstep %}

{% step %}

## Populate conditions

Populate **Conditions** (4) that should be matched by records. If do not specify conditions, ALL available records will be deleted.

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

{% step %}

## Specify Conditions Logic

Specify **Conditions Logic** (5) if needed.
{% endstep %}

{% step %}

## Specify the limit

Specify **Limit** (6) of records to update in one time. If set too big value, you may undergo system limitations.
{% endstep %}

{% step %}

## Configure background execution

**Execute in background** (7)**:** select it 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](/automations/global-actions-and-action-groups/using-actions/how-to-use-execute-in-background-feature.md). If check this option, the new field will appear:

**With gap** (8): by default it is 0, but can be set as an integer number of minutes. This field specifies interval before action execution.
{% endstep %}

{% step %}

## Save the action

Save the action. Now you can call it from SF Process/Flow Builder and other places.
{% endstep %}
{% endstepper %}

![](/files/b6eb512dfe8a71a076278afcf7069343003f05a5)
