ServiceNow · Arazzo Workflow

ServiceNow Table Record Lifecycle

Version 1.0.0

Exercise the full Table API CRUD lifecycle — create, read, update, then delete a record.

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

Provider

servicenow

Workflows

table-record-lifecycle
Create, read, update, and delete a single record in any table.
Walks a record through its full lifecycle on the Table API, creating it, retrieving it, applying an update, and removing it.
4 steps inputs: createFields, tableName, updateFields outputs: recordSysId, updatedOn
1
createRecord
Create a new record in the target table using the supplied create field map.
2
getRecord
Read the newly created record back by its sys_id to confirm it exists.
3
updateRecord
Replace the record's fields with the supplied update field map using a full PUT update.
4
deleteRecord
Delete the record to complete the lifecycle. A successful delete returns no content.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: ServiceNow Table Record Lifecycle
  summary: Exercise the full Table API CRUD lifecycle — create, read, update, then delete a record.
  description: >-
    A generic create-read-update-delete walkthrough of the ServiceNow Table
    API against any table. The workflow creates a record from a supplied field
    map, reads it back by sys_id, updates it with a second field map, and
    finally deletes it. This demonstrates the complete record lifecycle and the
    Table API convention of wrapping the single record under a result object on
    create, read, and update.
  version: 1.0.0
sourceDescriptions:
- name: tableRecordsApi
  url: ../openapi/servicenow-table-records-api-openapi.yml
  type: openapi
workflows:
- workflowId: table-record-lifecycle
  summary: Create, read, update, and delete a single record in any table.
  description: >-
    Walks a record through its full lifecycle on the Table API, creating it,
    retrieving it, applying an update, and removing it.
  inputs:
    type: object
    required:
    - tableName
    - createFields
    - updateFields
    properties:
      tableName:
        type: string
        description: The ServiceNow table to operate on (e.g. incident, change_request, cmdb_ci).
      createFields:
        type: object
        description: Field name/value pairs for the new record.
      updateFields:
        type: object
        description: Field name/value pairs to apply during the update step.
  steps:
  - stepId: createRecord
    description: >-
      Create a new record in the target table using the supplied create field
      map.
    operationId: createRecord
    parameters:
    - name: tableName
      in: path
      value: $inputs.tableName
    requestBody:
      contentType: application/json
      payload: $inputs.createFields
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      recordSysId: $response.body#/result/sys_id
  - stepId: getRecord
    description: >-
      Read the newly created record back by its sys_id to confirm it exists.
    operationId: getRecord
    parameters:
    - name: tableName
      in: path
      value: $inputs.tableName
    - name: sys_id
      in: path
      value: $steps.createRecord.outputs.recordSysId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      createdOn: $response.body#/result/sys_created_on
  - stepId: updateRecord
    description: >-
      Replace the record's fields with the supplied update field map using a
      full PUT update.
    operationId: updateRecord
    parameters:
    - name: tableName
      in: path
      value: $inputs.tableName
    - name: sys_id
      in: path
      value: $steps.createRecord.outputs.recordSysId
    requestBody:
      contentType: application/json
      payload: $inputs.updateFields
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      updatedOn: $response.body#/result/sys_updated_on
  - stepId: deleteRecord
    description: >-
      Delete the record to complete the lifecycle. A successful delete returns
      no content.
    operationId: deleteRecord
    parameters:
    - name: tableName
      in: path
      value: $inputs.tableName
    - name: sys_id
      in: path
      value: $steps.createRecord.outputs.recordSysId
    successCriteria:
    - condition: $statusCode == 204
  outputs:
    recordSysId: $steps.createRecord.outputs.recordSysId
    updatedOn: $steps.updateRecord.outputs.updatedOn

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-table-record-crud-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.