> 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/update-records.md).

# Update Records

"Update 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** = Update 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 update record for.
{% endstep %}

{% step %}

## Select fields to update

Select **fields** you need to be updated (4).

{% hint style="info" %}
Some records can have required fields and these fields can be empty (e.g, they became required later than records were created). In this case "Update Records" action must update these fields too, otherwise system will fail it.
{% endhint %}
{% endstep %}

{% step %}

## Fill in field values

Fill in value for each field. You can use static values, merge fields or formulas to populate values (see more info on merge fields and formulas at [Working with context objects](/automations/global-actions-and-action-groups/basics/working-with-context-objects.md) and [Working with functions](/automations/functions-and-formulas/introduction-and-usage.md)).
{% endstep %}

{% step %}

## Populate conditions

Populate **Conditions** (5) that should be matched by records. If do not specify conditions, ALL available records will be updated in the same way.

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

{% step %}

## Specify conditions logic

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

{% step %}

## Specify the record limit

Specify **Limit** (7) 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** (8)**:** 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** (9): 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 Salesforce Process/Flow Builder and other places.
{% endstep %}
{% endstepper %}

![](/files/e9775486af94347fe43f15c75b20fcbe185b23be)
