---
title: "Update Fields Actions"
canonical: "https://help.agiloft.com/space/HELP/43718440/Update+Fields+Actions"
format: markdown
---
Update Fields actions are used to modify one or more fields in the selected record or a linked record in another table. You can modify field values in several different ways, such as with standard text, a saved search, a regular expression, or a [formula](https://agiloft-public.atlassian.net/wiki/spaces/HELP/pages/43715029). The available options depend on the type of field being modified.

> ℹ️ **Example**
> ℹ️ 
> ℹ️ Update Fields actions can be used in many different ways:
> ℹ️ 
> ℹ️ - Assign records to the appropriate team.
> ℹ️ - Increment or decrement number fields.
> ℹ️ - Add or subtract time from date/time fields.
> ℹ️ - Change the status of a record when specific conditions are met.
> ℹ️ - Manage the process flow between related tables, such that if an update is made in one table, fields can then be updated in the related tables.
> ℹ️ - Populate a linked field based on search criteria. For more information, see [Populating a Linked Field with a Saved Search](https://agiloft-public.atlassian.net/wiki/spaces/HELP/pages/43718118).
> ℹ️ - Update records in a related table when some condition is met.

### Regular Expressions in Update Field Actions

You have the option to use a regular expression (regexp) in the Formula field of Update Field actions. This type of replacement also accepts special characters. For example, regexp '/;+/\n/' replaces ";" with a line break. If you're unfamiliar with regexp, use one of the other options for updating field values or seek out one of the many online resources for using regexp.

# Create an Update Fields Action

You can access the Actions wizard in several ways, but the easiest way is to select Setup [Table] from the table where you want to create the action.

1. From the top nav bar, expand the table's drop-down and select Setup [Table].
2. Select the Actions tab in the Table wizard.
3. Click Create Update Fields Action.
4. On the General tab, name your action and give it a description.
5. Navigate to the Fields tab and select the fields you want to update. By default, only fields on the current table are available fields. To update fields from a linked set, select a value from the linked field drop-down; this updates both the local fields listed and the linked fields in the drop-down. You can select a field in the linked table, or select another linked field to access another linked table in the chain. If you select a one-to-many link from the Referring Tables section of the drop-down list, all linked records from that table are updated, regardless of which referring table you select. For more information about updating linked fields, see [Updating Linked Records](https://agiloft-public.atlassian.net/wiki/spaces/HELP/pages/43715527).
6. On the Values tab, select a new value for each of the fields selected in the Fields tab. Your options on this tab correlate to the types of fields you selected. For example, for Attached File fields, you can choose whether to keep all versions of a file, or to delete older ones.
7. If you selected a status field on the Fields tab, the Workflow tab is displayed. Since changing the status is a workflow transition, the settings on the Workflow tab control whether to run the actions and guards from the workflow.
  - If you don’t want to run actions and guards during the update, leave the checkboxes clear. In this case, the action changes the status and skips any actions and guards for the transition.
  - If you want actions to run, select the “Execute workflow actions for transitions from old value to new value” checkbox.
  - If you want guards to run, select the “Execute guards for transitions from old value to new value” checkbox.
8. On the Errors tab, choose how you want the system to respond if there is a system error while the field is being updated.
9. Click Finish.

#### Related articles

> Macro (contentbylabel)