Update Record step
Update an existing record in a table. You can dynamically add and configure fields for the record, or use a template to set field values.
Roles and availability
Available as an Workflow Studio action step. Users with the action_designer role can create a custom action with one or more action steps.
Fields
| Field | Description |
|---|---|
| Record | The record to be updated. Drag-and-drop a record data pill or use the data pill picker to select a record. Warning: When using script to select a record, always add a condition to check for a matching record. Some GlideRecord methods return a list of records whenever the method query produces no results.
Without a condition check, the action may update all records in a table. For example, this script uses an If condition to verify that a record exists. If the record exists, it returns a Sys ID value. If no
record exists, it returns a null result. |
| Table | The table associated with the record. When you select a record, this field is automatically set to the table associated with the record. |
| Field Values |
Set static or dynamic values of fields in the record. For example, to set the short description to a static value, select Short description and set the desired value. To add dynamic values, see Create a template value input. Important:
The system does not support updating multiple journal fields such as the additional comments or work notes of a task record. |
Action error evaluation
- If this step fails
- Data type: Choice
Option to continue running the next step or go to error evaluation. To use the step status code or message for a custom action error condition, see Action error evaluation.