Task Management module setup validation workflows for ServiceNow - Documentation for TrueSight Orchestration Content 20.18.01
You can use the workflows contained in the Setup Validation folder as templates when creating new workflows and methods to test the success of a newly created process. This section describes the following Task Management module setup validation workflows for ServiceNow:
Get Configuration Name
Use this workflow as a template for finding the configuration name as a method to test the success of the workflow.
Get Configuration Name workflow output
| Output | Description |
|---|---|
| configuration name | Configuration name to be used for ServiceNow Example: ServiceNow |
Get Task by Change ID
Use this workflow as a template for finding the task by using the change ID and as a method to test the success of the workflow.
Get Task by Change ID workflow inputs
| Input | Description | Required |
|---|---|---|
| change id | Specifies the change ID | Yes |
Get Task by Change ID workflow outputs
Output | Description |
|---|---|
adapter response | Contains an XML document that provides the response |
Get Task by Change Number
Use this workflow as a template for finding a task by using the task number and as a method to test the success of the workflow.
Get Task by Change Number workflow inputs
| Input | Description | Required |
|---|---|---|
| change number | Specifies the change number for the task | Yes |
Get Task by Change number workflow outputs
Output | Description |
|---|---|
adapter response | Contains an XML document that provides the response |
Get Task by Task ID
Use this workflow as a template to find a task by using its task ID and as a method to test the success finding a task record by its task ID.
Test Get Task by Task ID workflow inputs
Input | Description | Required |
|---|---|---|
task id | Specifies the unique identifier of a task | Yes |
Test Get Task by Task ID workflow outputs
Output | Description |
|---|---|
adapter response | Contains an XML document that provides the response |
Test Create Task Relationships
Use this workflow as a template for creating task relationship and as a method to test the success of associating a specified configuration item to a specified task.
Test Create Task Relationships workflow input
Input | Description | Required |
|---|---|---|
configuration name | Specifies a configuration group defined in the module configuration | Yes |
Test Create Task Relationships workflow outputs
Output | Description |
|---|---|
adapter response | Contains an XML document that provides the response |
Test Get Relationship by Configuration Item
Use this workflow as a template for finding a relationship by using the configuration item and as a method to test the success of the workflow.
Test Get Relationship by Configuration Item workflow output
Output | Description |
|---|---|
adapter response | Contains an XML document that provides the response |
Test Get Relationship by Instance ID
Use this workflow as a template for finding a relationship by using the instance ID and as a method to test the success of the workflow. .
Test Get Relationship by Task ID
Use this workflow as a template for finding a relationship by using the task ID and as a method to test the success of the workflow.
Test Get Task
Use this workflow as a template for finding a task and as a method to test the success of the workflow.
Test Get Task workflow inputs
| Input | Description | Required |
|---|---|---|
key 1 | Specifies the name or the ID of the field against which you want to search | Yes |
value 1 | Specifies the value that you are searching for in the key 1 field | Yes |
key 2 | Specifies a name or an ID of a field against which you want to search | Yes |
value 2 | Specifies the value that you are searching for in the key 2 field | Yes |
Test Get Task workflow outputs
Output | Description |
|---|---|
adapter response | Contains an XML document that provides the response |
Test Update Task Notes
Use this workflow as a template for updating the task notes for a task and as a method to test the success of the workflow.
Test Update Task Notes workflow outputs
| Output | Description |
|---|---|
tasks | Contains an XML document that provides the data template for concept elements |
success status | Indicates whether the workflow finished successfully |
status message | Provides a workflow-specific explanation for the value of success status |
Test Update Task Status
Use this workflow as a template for updating the task status for a task and as a method to test the success of the workflow.
Test Update Task Status workflow outputs
| Output | Description |
|---|---|
tasks | Contains an XML document that provides the data template for concept elements |
success status | Indicates whether the workflow finished successfully |
status message | Provides a workflow-specific explanation for the value of success status |
Test Update WorkInfo
Use this workflow as a template for updating the workinfo for a task and as a method to test the success of the workflow.
Test Update Task WorkInfo workflow outputs
| Output | Description |
|---|---|
tasks | Contains an XML document that provides the data template for concept elements |
success status | Indicates whether the workflow finished successfully |
status message | Provides a workflow-specific explanation for the value of success status |