Skip to main content

CherwellGetIncident

This Script is part of the Cherwell Pack.#

This script is an example script of how to retrieve an incident from Cherwell. The script wraps the cherwell-get-business-object command of the cherwell integration. When writing your own script to get a business object, follow the instructions found in the configuration section of the script, but do not change the execution section.

Script Data#


NameDescription
Script Typepython3
TagsCherwell
Cortex XSOAR Version5.0.0

Dependencies#


This script uses the following commands and scripts.

  • cherwell-get-business-object

Inputs#


Argument NameDescription
id_typeType of ID.
id_valuePublic ID or record ID.

Outputs#


PathDescriptionType
Cherwell.BusinessObjects.RecordIdRecoed IDString
Cherwell.BusinessObjects.PublicIdPublic IDString
Cherwell.BusinessObjects.DescriptionIncident descriptionString
Cherwell.BusinessObjects.PriorityIncident ptiorityNumber
Cherwell.BusinessObjects.OwnedByIncident owned by fieldString
Cherwell.BusinessObjects.ServiceService needed for the incidentString
Cherwell.BusinessObjects.CustomerDisplayNameIncident reporting customerString
Cherwell.BusinessObjects.CreatedDateTimeCreated date timeDate
Cherwell.BusinessObjects.TotalTasksTotal tasks for this incidentNumber