ServiceNow · Arazzo Workflow

ServiceNow Add Task to Change Request

Version 1.0.0

Create a change task on a change, list the change's tasks, then update the task.

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

Provider

servicenow

Workflows

add-change-task
Create and schedule a task on a change request.
Creates a change task on a parent change, lists the change's tasks, and updates the new task with an owner and schedule via the Table API.
3 steps inputs: assignedTo, assignmentGroup, changeSysId, description, plannedEndDate, plannedStartDate, shortDescription, taskState outputs: taskNumber, taskSysId
1
createTask
Create a new change task under the supplied parent change request.
2
listTasks
List the tasks on the parent change request to confirm the new task is attached.
3
updateTask
Update the change task state via the Table API change_task table. The Change Management API has no task update endpoint, so the generic Table API is used to patch the task by sys_id.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: ServiceNow Add Task to Change Request
  summary: Create a change task on a change, list the change's tasks, then update the task.
  description: >-
    Builds out the implementation work for a change request. The workflow
    creates a change task under a parent change, lists the tasks on that change
    to confirm the new task appears, and then patches the task with an
    assignment and planned schedule. The change task endpoints wrap their
    payloads under a result object and key the task to its parent change by
    sys_id. Every request is written inline.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-600.30
  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.30
      capability_name: IT Service Management
      spec: servicenow-change-tasks-api-openapi.yml
      confidence: 0.85
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: changeTasksApi
  url: ../openapi/servicenow-change-tasks-api-openapi.yml
  type: openapi
- name: tableRecordsApi
  url: ../openapi/servicenow-table-records-api-openapi.yml
  type: openapi
workflows:
- workflowId: add-change-task
  summary: Create and schedule a task on a change request.
  description: >-
    Creates a change task on a parent change, lists the change's tasks, and
    updates the new task with an owner and schedule via the Table API.
  inputs:
    type: object
    required:
    - changeSysId
    - shortDescription
    properties:
      changeSysId:
        type: string
        description: The sys_id of the parent change request.
      shortDescription:
        type: string
        description: The short description of the change task.
      description:
        type: string
        description: The full description of the change task.
      assignedTo:
        type: string
        description: The sys_id of the user to assign the task to.
      assignmentGroup:
        type: string
        description: The sys_id of the assignment group for the task.
      plannedStartDate:
        type: string
        description: The planned start date/time for the task.
      plannedEndDate:
        type: string
        description: The planned end date/time for the task.
      taskState:
        type: string
        description: The state value to set on the task during the update.
  steps:
  - stepId: createTask
    description: >-
      Create a new change task under the supplied parent change request.
    operationId: createChangeTask
    parameters:
    - name: sys_id
      in: path
      value: $inputs.changeSysId
    requestBody:
      contentType: application/json
      payload:
        short_description: $inputs.shortDescription
        description: $inputs.description
        assigned_to: $inputs.assignedTo
        assignment_group: $inputs.assignmentGroup
        planned_start_date: $inputs.plannedStartDate
        planned_end_date: $inputs.plannedEndDate
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      taskSysId: $response.body#/result/sys_id
      taskNumber: $response.body#/result/number
  - stepId: listTasks
    description: >-
      List the tasks on the parent change request to confirm the new task is
      attached.
    operationId: listChangeTasks
    parameters:
    - name: sys_id
      in: path
      value: $inputs.changeSysId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstTaskSysId: $response.body#/result/0/sys_id
  - stepId: updateTask
    description: >-
      Update the change task state via the Table API change_task table. The
      Change Management API has no task update endpoint, so the generic Table
      API is used to patch the task by sys_id.
    operationId: patchRecord
    parameters:
    - name: tableName
      in: path
      value: change_task
    - name: sys_id
      in: path
      value: $steps.createTask.outputs.taskSysId
    requestBody:
      contentType: application/json
      payload:
        state: $inputs.taskState
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      taskSysId: $response.body#/result/sys_id
  outputs:
    taskSysId: $steps.createTask.outputs.taskSysId
    taskNumber: $steps.createTask.outputs.taskNumber

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-change-add-task-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.