capabilities.work

Table Record Lifecycle

A 4-step recipe with ServiceNow. We can help you get access.

Recipe · 4 steps

Table Record Lifecycle

Create, read, update, and delete a single record in any table.

  1. Create a new record in the target table using the supplied create field map.
  2. Read the newly created record back by its sys_id to confirm it exists.
  3. Replace the record's fields with the supplied update field map using a full PUT update.
  4. Delete the record to complete the lifecycle. A successful delete returns no content.
What you'll need to have ready
  • tableName: The ServiceNow table to operate on (e.g. incident, change_request, cmdb_ci).
  • createFields: Field name/value pairs for the new record.
  • updateFields: Field name/value pairs to apply during the update step.
For your developer

Arazzo workflow servicenow:table-record-lifecycle, 4 operations: createRecord → getRecord → updateRecord → deleteRecord. Specs on APIs.io.