Skip to main content

ServiceNowUpdateIncident

This Script is part of the ServiceNow Pack.#

Wraps the generic update-record command in ServiceNow. Fields can be added that update the record with as script arguments or in the code and work with the records easily.

Script Data#


NameDescription
Script Typepython
Tagsservicenow

Dependencies#


This script uses the following commands and scripts.

  • servicenow-query-table
  • servicenow-update-record

Inputs#


Argument NameDescription
severityThe severity of the incident.
assigneeThe assignee name of the incident. For example, "John Smith".
descriptionThe description of the incident.
assigned_groupThe assigned group name of the incident. For example, "Incident Management Group".
idThe incident ID to update.
numberThe incident number to update.
queryThe query to use.

Outputs#


PathDescriptionType
ServiceNow.Incident.IDThe ID of the incident.string
ServiceNow.Incident.NumberThe number of the incident.string