Update Configuration Item Attributes
A 3-step recipe with ServiceNow. We can help you get access.
Recipe · 3 steps
Update Configuration Item Attributes
with ServiceNow · IT Infrastructure Management
Read a configuration item and update its attributes.
- List configuration items in the class to provide context for the update.
- Fetch the target configuration item's full attribute set before applying changes.
- Patch the configuration item's attributes through the Table API, keyed by the CMDB class name as the table and the CI sys_id.
What you'll need to have ready
- className: The CMDB class of the configuration item (e.g. cmdb_ci_server).
- ciSysId: The sys_id of the configuration item to update.
- attributes: The field name/value pairs to write to the CI record.
For your developer
Arazzo workflow servicenow:update-ci-attributes, 3 operations: listCmdbInstances → getCmdbInstance → patchRecord. Specs on APIs.io.