Link Configuration Item to Incident
A 3-step recipe with ServiceNow. We can help you get access.
Recipe · 3 steps
Link Configuration Item to Incident
with ServiceNow · IT Infrastructure Management
Locate a CMDB configuration item and attach it to an incident.
- List configuration items in the CMDB class filtered by name, returning at most one match.
- Fetch the matched configuration item's full record to confirm its details before linking.
- Patch the incident to reference the configuration item as its affected CI via the Table API.
What you'll need to have ready
- className: The CMDB class to search (e.g. cmdb_ci_linux_server).
- ciName: The configuration item name to match.
- incidentSysId: The sys_id of the incident to attach the CI to.
For your developer
Arazzo workflow servicenow:link-ci-to-incident, 3 operations: listCmdbInstances → getCmdbInstance → patchRecord. Specs on APIs.io.