Incident Management module setup validation workflows for ServiceNow
You can use the workflows contained in the Setup Validation folder as templates to use when creating new workflows and as methods to test the success of a newly created process while integrating with ServiceNow. This section describes the following Incident Management module setup validation workflows:
Test Associate Incident and Change
Use this workflow as a template to associate incident and change and as a method to test the success of associating incident and change.
Test Associate Incident and Change workflow inputs
Input | Description | Required |
---|---|---|
incident id | Specifies the unique identifier assigned by the incident management system when the incident was created | Yes |
change id | Specifies the change ID | Yes |
Test Associate Incident and Change workflow outputs
Output | Description |
---|---|
status message | Provides a process-specific string that explains the value of the success status |
success status | Indicates whether the workflow finished successfully |
Test Close Incident
Use this workflow as a template to close an incident and as a method to test the success of closing an incident.
Test Close Incident workflow inputs
Input | Description | Required |
---|---|---|
incident number | Specifies the unique identifier assigned by the incident management system when the incident was created For example, | Yes |
Test Close Incident workflow outputs
Output | Description |
---|---|
incidents | Contains an XML document that provides specific elements used to assign multiple values to a single context item |
success status | Indicates whether the workflow finished successfully |
status message | Provides a process-specific string that explains the value of the success status |
Test Create Incident Association
Use this workflow as a template for creating an incident association and as a method to test the success of creating an incident association.
Test Create Incident Association workflow inputs
Input | Description | Required |
---|---|---|
incident id | Specifies the unique identifier assigned by the incident management system when the incident was created | Yes |
incident description | Describes the incident | No |
ci name | Specifies the configuration item name | Yes |
Test Create Incident Association workflow outputs
Output | Description |
---|---|
incidents | Contains an XML document that provides specific elements used to assign multiple values to a single context item |
success status | Indicates whether the workflow finished successfully |
status message | Provides a process-specific string that explains the value of the success status |
Test Create Incident with Template
Use this workflow as a template to create incident with a template and as a method to test the success of the workflow.
Test Create Incident with Template workflow inputs
Input | Description | Required |
---|---|---|
incident name | Specifies the name of the incident | Yes |
Test Create Incident with Template workflow outputs
Output | Description |
---|---|
incidents | Contains an XML document that provides specific elements used to assign multiple values to a single context item |
failed incidents | Contains an XML document that provides the details of the failed incidents |
success count | Contains an XML document that provides the details of the successfully created incidents |
failure count | Provides a count of failed incidents |
success status | Indicates whether the workflow finished successfully Valid values: success, failure |
status message | Provides a process-specific string that explains the value of the success status |
Test Create Incidents
Use this workflow as a template for creating incidents and as a method to test the success of creating incidents.
Test Create Incidents workflow inputs
Input | Description | Required |
---|---|---|
incident name | Specifies a name for the incident | Yes |
Test Create Incidents workflow outputs
Output | Description |
---|---|
incidents | Contains an XML document that provides specific elements used to assign multiple values to a single context item |
failed incidents | Contains an XML document providing failed incidents |
success count | Provides a count of successful incidents |
failure count | Provides a count of incidents that failed mapping associations |
success status | Indicates whether the workflow finished successfully |
status message | Provides a process-specific string that explains the value of the success status |
Test Get Incident Associations by Configuration Item
Use this workflow as a template to find incident associations by configuration item and as a method to test the success of the workflow.
Test Get Incident Associations by Configuration Item workflow inputs
Input | Description | Required |
---|---|---|
no input? |
Test Create Incident with Template workflow outputs
Output | Description |
---|---|
incidents | Contains an XML document that provides specific elements used to assign multiple values to a single context item |
success status | Indicates whether the workflow finished successfully Valid values: success, failure |
status message | Provides a process-specific string that explains the value of the success status |
Test Get Incident by Incident ID
Use this workflow as a template to find an incident by incident ID and as a method to test the success of the workflow.
Test Get Incident by Incident ID workflow inputs
Input | Description | Required |
---|---|---|
no input? |
Test Get Incident by Incident ID workflow outputs
Output | Description |
---|---|
incidents | Contains an XML document that provides specific elements used to assign multiple values to a single context item |
success status | Indicates whether the workflow finished successfully |
status message | Provides a process-specific string that explains the value of the success status |
Test Get Incident by Impact
Use this workflow as a template to find an incident by impact and as a method to test the success of the workflow.
Test Get Incident by Impact workflow inputs
Input | Description | Required |
---|---|---|
no input? |
Test Get Incident by Impact workflow outputs
Output | Description |
---|---|
incidents | Contains an XML document that provides specific elements used to assign multiple values to a single context item |
success status | Indicates whether the workflow finished successfully |
status message | Provides a process-specific string that explains the value of the success status |
Test Get Incident by Time Recorded
Use this workflow as a template to find an incident by impact and as a method to test the success of the workflow.
Test Get Incident by Impact workflow inputs
Input | Description | Required |
---|---|---|
time recorded | Specifies the time when the incident was created | Yes |
Test Get Incident by Impact workflow outputs
Output | Description |
---|---|
incidents | Contains an XML document that provides specific elements used to assign multiple values to a single context item |
success status | Indicates whether the workflow finished successfully |
status message | Provides a process-specific string that explains the value of the success status |
Test Update Incident Status
Use this workflow as a template to update incident status and as a method to test the success of the workflow.
Test Update Incident Status workflow inputs
Input | Description | Required |
---|---|---|
incident number | Specifies the unique identifier assigned by the incident management system when the incident was created | Yes |
new status | Specifies the new incident status | Yes |
Test Update Incident by Incident workflow outputs
Output | Description |
---|---|
incidents | Contains an XML document that provides specific elements used to assign multiple values to a single context item |
success status | Indicates whether the workflow finished successfully |
status message | Provides a process-specific string that explains the value of the success status |
Test Update WorkInfo
Use this workflow as a template for updating an incident work note (workinfo) and as a method to test the success of updating an incident work note.
Test Update WorkInfo workflow inputs
Input | Description | Required |
---|---|---|
incident number | Specifies the unique identifier assigned by the incident management system when the incident was created | Yes |
workinfo summary | Specifies the workinfo summary | Yes |
workinfo details | Specifies the workinfo details | Yes |
Test Update Incident by WorkInfo workflow outputs
Output | Description |
---|---|
incidents | Contains an XML document that provides specific elements used to assign multiple values to a single context item |
success status | Indicates whether the workflow finished successfully |
status message | Provides a process-specific string that explains the value of the success status |
Comments
Log in or register to comment.