Update ServiceNow record
servicenow_update_recordUpdate existing ServiceNow records by supplying a table, sys_id, and field-value pairs. Preview changes before applying to avoid unintended edits.
Instructions
Update fields on an existing record identified by its sys_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Execute the change. In the default plan mode, omitting this returns a non-mutating before/after preview; set true to apply. SN_WRITE_MODE=apply makes execution the default. | |
| table | Yes | Table name, e.g. 'incident'. | |
| fields | Yes | Field name/value pairs to change on the record. | |
| sys_id | Yes | The sys_id of the record to update. | |
| instance | No | Connection profile to use for this call (default: the active profile). See servicenow_list_instances. |