Skip to main content

ServiceNowCreateIncident

This Script is part of the ServiceNow Pack.#

Wraps the generic create-record command in ServiceNow. Fields can be added that create the record with a script argument or in the code and work with the records.

Script Data#


NameDescription
Script Typepython
Tagsservicenow

Dependencies#


This script uses the following commands and scripts.

  • servicenow-query-table
  • servicenow-create-record

Inputs#


Argument NameDescription
severityThe incident severity.
assigneeThe incident assignee name. For example, "John Smith".
descriptionThe incident description.
assigned_groupThe incident assigned group name. For example, "Incident Management Group".

Outputs#


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