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 idSpecifies the unique identifier assigned by the incident management system when the incident was createdYes
change idSpecifies the change IDYes

Test Associate Incident and Change workflow outputs

OutputDescription

status message

Provides a process-specific string that explains the value of the success status

success status

Indicates whether the workflow finished successfully 
Valid values: success, failure

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 
Valid values: success, failure

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 
Valid values: success, failure

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 nameSpecifies the name of the incidentYes

 

Test Create Incident with Template workflow outputs

OutputDescription
incidentsContains an XML document that provides specific elements used to assign multiple values to a single context item
failed incidentsContains an XML document that provides the details of the failed incidents
success countContains an XML document that provides the details of the successfully created incidents
failure countProvides a count of failed incidents

success status

Indicates whether the workflow finished successfully 
Valid values: success, failure
status messageProvides 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 
Valid values: success, failure

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

OutputDescription

incidents

Contains an XML document that provides specific elements used to assign multiple values to a single context item

success statusIndicates whether the workflow finished successfully 
Valid values: success, failure
status messageProvides 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 
Valid values: success, failure

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 
Valid values: success, failure

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 recordedSpecifies the time when the incident was createdYes 

 

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 
Valid values: success, failure

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

InputDescriptionRequired
incident numberSpecifies the unique identifier assigned by the incident management system when the incident was createdYes
new statusSpecifies the new incident statusYes

 

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 
Valid values: success, failure

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 numberSpecifies the unique identifier assigned by the incident management system when the incident was createdYes
workinfo summarySpecifies the workinfo summaryYes
workinfo detailsSpecifies the workinfo detailsYes

 

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 
Valid values: success, failure

status message

Provides a process-specific string that explains the value of the success status


Was this page helpful? Yes No Submitting... Thank you

Comments