...
Template Name | Extension Name | Extension Version |
---|---|---|
ServiceNow Incident | ue-servicenow-incident | 1.0.0 |
Refer to Changelog for version history information.
...
Field | Input type | Default value | Type | Description |
---|---|---|---|---|
Action | Required | Create Incident | Choice | Action performed upon the task execution. Available actions.
|
ServiceNow Instance URL | Required | - | Text | URL of the ServiceNow instance. |
ServiceNow Credentials | Required | - | Credentials | Credentials for accessing ServiceNow via API.The Credentials definition should be as follows.
|
Caller | Optional | - | Dynamic Choice | User who reported or is affected by this incident. |
Category | Optional | - | Dynamic Choice | The category for incident creation. If not provided, the default category defined on ServiceNow will be considered. |
Subcategory | Optional | - | Dynamic Choice | The subcategory for incident creation. The choice of Subcategory depends on the previous choice of Category. |
Impact | Optional | - | Choice | Impact of the created incident. The following options are available.
|
Urgency | Optional | - | Choice | Urgency of the created incident. The following options are available.
|
Assigned To | Optional | - | Dynamic Choice | User primarily responsible for treating this incident in ServiceNow. |
Assignment Group | Optional | - | Dynamic Choice | Assignment group that is responsible working on this incident in ServiceNow. |
Short Description | Required | - | Text | Short description of the incident. |
Description | Optional | - | Large Text | Description of the incident. |
Attach Output Source | Required | -- None -- | Choice | Parameter controlling whether an attachment will be attached to the incident and the source of it. The following options are available.
|
Output Type | Optional | All | Choice | The type of output to be used as attachment. The following options are available.
|
Number of lines | Optional | 100 | Integer | The number of lines to be retrieved from the task instance output. The extension will provide up to the specified number of lines, less if there is not enough lines generated. Required when Attach Output Source is “Sibling Task” or “Any Task Instance”. The value must be greater then 0. |
Task Instance ID | Optional | - | Text | UUID of the task instance the output of which is attached. UAC Functions can be used to resolve the required Task Instance ID. For more information the reader can refer to the task examples. Required when Attach Output Source is “Sibling Task” or “Any Task Instance”. |
UC URL | Optional | - | Text | Base URL of the target Universal Controller. Required when Attach Output Source is “Sibling Task” or “Any Task Instance”. |
UC Credential | Optional | - | Credential for accessing the Controller. The Credentials definition should be as follows.
|
...
Note |
---|
Using empty value for dynamic choice fields will result with ServiceNow setting a default value for the field if one exists. |
Note |
---|
...
Using non-existing value for dynamic choice fields will result with ServiceNow setting an empty value or a default value for the field if one exists. |
Task Examples
Create Incident
Example of creation of an incident.
Create Incident with attachment from a Sibling Task
Example of creation of an incident with attachment from a sibling task within a workflow. The workflow is configured to create a ServiceNow incident when a task fails.
A workflow where the Failure transition of a SQL Task is followed by a ServiceNow Incident Universal Task.
Task configured to use the information from the failed Universal Task Instance as attachment for creating a ServiceNow Incident.
Create Incident From Any Task Instance
Example of creation of an incident from any Task Instance.
The use case shows a Task Monitor configured to monitor a specific task for failure.
The Task Monitor Trigger is configured to create a new ServiceNow Incident Task Instance when triggered by the Task Monitor.
The created Incident task propagates the output of the failing Task Instance as an attachment to ServiceNow.
Task Output
Exit Codes
...
Document Link | Description |
---|---|
Universal Templates | User documentation for creating, working with and understanding Universal Templates and Integrations. |
Universal Tasks | User documentation for creating Universal Tasks in the Universal Controller user interface. |
Credentials | User documentation for creating and working with credentials. |
Resolvable Credentials Permitted Property | User documentation for Resolvable Credentials Permitted Property. |
ServiceNow Documentation | User documentation for ServiceNow. |
Changelog
ue-servicenow-incident-1.0.0 (2022-
...
07-
...
28)
Added
: Basic Functionality for ServiceNow Incidents (#29442)