Update Record activity
Summarize
Summarized using AI
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.
Summary of Update Record activity
The Update Record activity in ServiceNow allows you to modify a record by specifying field values within a playbook. This activity is accessible to users with the admin, playbook.admin, or pdauthor roles and can be added as a common activity in playbooks.
Show less
Inputs
Configure the activity by providing values for several inputs in the properties panel. Key inputs include:
- Label: Title displayed on the activity and playbook card.
- Description: Information describing the activity’s purpose or outcome.
- Run condition: Conditions that must be met for the activity or stage to run, leveraging data from prior activities.
- Start Rule: Defines when the stage or activity starts running, with options such as when the process starts, after specific stages or activities, or when a stage starts.
- Start with delay: Optionally delay execution by a specified duration.
- Table: Specifies the table containing the record to update.
- Record: Reference to the specific record to update.
- Fields Template Value: Field values to update on the record.
- Wait for user input: Option to pause the playbook until manual completion or skipping by the end user (editable only by playbook.admin role).
Advanced inputs include assignment group, assigned user, and fields to display after update, allowing more precise control over task responsibility and user interface.
Outputs
The activity produces outputs usable by subsequent activities in the playbook:
- Table: The table containing the updated record.
- Record Document ID: Reference to the updated record.
Design considerations
- Use form views: Create form views tailored for activities to display only necessary fields for updating records, ensuring required or validated fields are included.
- Order activities thoughtfully: Run non-interactive Update Record activities before interactive ones to avoid blocking dependent activities and stages within the playbook.
Update a record with the field values you specify.
Roles and availability
- This activity is available as a common activity. Users with the admin, playbook.admin, or pd_author can add this activity to a playbook.
Inputs
Open the activity properties panel and configure your activity to add values for the following inputs. If the input value varies, use the pill-picker to show where to get the
value. To learn more about the pill-picker, see Dot-walking examples.
| Input | Type | Description |
|---|---|---|
| Label | String | Title to display as activity and playbook card. |
| Description | String | Information to display about activity usage or outcome. |
| Run condition | Condition Builder | Conditions that must be met to run an activity or stage. You can use data from prior activities to build conditions. Note: Show additional options to see this field. |
| Start Rule | Choice | Under , select a start rule for when your stage should start running:
|
| Start with delay | True/False | Option to wait for a duration of time before running an activity or stage. When enabled, this input displays the Start with delay input properties. Note: Show additional options to see this field. |
| Table | Table Name | Table containing the record to update. |
| Record | Reference | Reference to the record you want to update. |
| Fields | Template Value | Field values to change during record update. |
| Wait for user input | Choice | Option to pause the playbook until the end user manually completes or skips the activity. Only users with the playbook.admin role can edit this field. By default, the activity waits for user action or data before it completes. |
Advanced inputs
After configuring the required inputs for your activity, you can also choose to configure additional inputs. In the side panel, select Show additional
options to display these advanced inputs. For more information, see Activity experience.
| Input | Type | Description |
|---|---|---|
| Assignment Group | Reference.Group [sys_user_group] | Group responsible for completing the task associated with the activity. Note: Show additional options to see this field. |
| Assigned To | Reference.User [sys_user] | User responsible for completing the task associated with the activity. Note: Show additional options to see this field. |
| Fields to show after update | String | Comma-separated list of fields to display for an updated record. |
Outputs
These outputs can provide data to other activities in your playbook. You can access this data as activity inputs when you configure your activity:
| Output | Type | Description |
|---|---|---|
| Table | Table Name | Table containing updated record. |
| Record | Document ID | Reference to record updated. |
Design considerations
- Create form views for activities that you want to render in a playbook
- Use a form view to display only the fields your users need to update a record. Your view should display required fields or those fields validated by other business logic. See View Management.
- Run non-interactive activities before interactive activities
- If an Update Record activity interactively gathers data from users, it prevents the playbook from starting any dependent activities. For example, an Update Record activity would prevent starting After Previous activities, which may be in other stages. Where possible, design your playbooks to run non-interactive activities before interactive activities that could block them.