ServiceNow · Arazzo Workflow

ServiceNow Update Configuration Item Attributes

Version 1.0.0

List CIs in a class, fetch one's full record, then update its attributes via the Table API.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AutomationCloud ServicesDigital WorkflowsEnterprise PlatformITSMProcessesT1Workflow-AutomationWorkflowsArazzoWorkflows

Provider

servicenow

Workflows

update-ci-attributes
Read a configuration item and update its attributes.
Lists CIs in a class, reads a target CI's full record, and patches its attributes via the Table API.
3 steps inputs: attributes, ciSysId, className outputs: ciSysId
1
listCis
List configuration items in the class to provide context for the update.
2
getCi
Fetch the target configuration item's full attribute set before applying changes.
3
updateCi
Patch the configuration item's attributes through the Table API, keyed by the CMDB class name as the table and the CI sys_id.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: ServiceNow Update Configuration Item Attributes
  summary: List CIs in a class, fetch one's full record, then update its attributes via the Table API.
  description: >-
    A CMDB maintenance flow. The workflow lists configuration items in a CMDB
    class, fetches a specific CI's full attribute set from the CMDB Instance
    API, and then patches its attributes through the Table API by sys_id, since
    the CMDB Instance API is read-only and exposes no write endpoint. The CMDB
    Instance API wraps records under a result object/array. Every request is
    written inline.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-600.50
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-600.50
      capability_name: IT Infrastructure Management
      spec: servicenow-cmdb-instances-api-openapi.yml
      confidence: 0.8
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: cmdbInstancesApi
  url: ../openapi/servicenow-cmdb-instances-api-openapi.yml
  type: openapi
- name: tableRecordsApi
  url: ../openapi/servicenow-table-records-api-openapi.yml
  type: openapi
workflows:
- workflowId: update-ci-attributes
  summary: Read a configuration item and update its attributes.
  description: >-
    Lists CIs in a class, reads a target CI's full record, and patches its
    attributes via the Table API.
  inputs:
    type: object
    required:
    - className
    - ciSysId
    - attributes
    properties:
      className:
        type: string
        description: The CMDB class of the configuration item (e.g. cmdb_ci_server).
      ciSysId:
        type: string
        description: The sys_id of the configuration item to update.
      attributes:
        type: object
        description: The field name/value pairs to write to the CI record.
  steps:
  - stepId: listCis
    description: >-
      List configuration items in the class to provide context for the update.
    operationId: listCmdbInstances
    parameters:
    - name: className
      in: path
      value: $inputs.className
    - name: sysparm_limit
      in: query
      value: 10
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstCiSysId: $response.body#/result/0/sys_id
  - stepId: getCi
    description: >-
      Fetch the target configuration item's full attribute set before applying
      changes.
    operationId: getCmdbInstance
    parameters:
    - name: className
      in: path
      value: $inputs.className
    - name: sys_id
      in: path
      value: $inputs.ciSysId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      confirmedCiSysId: $response.body#/result/sys_id
  - stepId: updateCi
    description: >-
      Patch the configuration item's attributes through the Table API, keyed by
      the CMDB class name as the table and the CI sys_id.
    operationId: patchRecord
    parameters:
    - name: tableName
      in: path
      value: $inputs.className
    - name: sys_id
      in: path
      value: $inputs.ciSysId
    requestBody:
      contentType: application/json
      payload: $inputs.attributes
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      ciSysId: $response.body#/result/sys_id
      updatedOn: $response.body#/result/sys_updated_on
  outputs:
    ciSysId: $steps.updateCi.outputs.ciSysId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/servicenow-update-ci-attributes-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.