Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Changes after additional review before release of v1.0.0

...

Network and Connectivity Requirements

  • Extension's Universal Agent host should be able to reach ServiceNow REST endpoints.
  • When creating attachments from Task Instances, the extension's Universal Agent Host should be able to reach the Universal Controller.
  • The ServiceNow Credentials provided in the ServiceNow Incident Universal Task, should have sufficient permissions to invoke ServiceNow API's and create incidents.

Supported ServiceNow Versions

...

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 An example workflow where the Failure transition of a SQL Task is followed by a ServiceNow Incident Universal Task is provided below.


Task An example of a task configured to use the information from the failed Universal Task Instance as attachment for creating a ServiceNow Incident is provided below.

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.

Image Removed

The Task Monitor Trigger is configured to create a new ServiceNow Incident Task Instance when triggered by the Task Monitor.

Image Removed

The created Incident task best practice to configure such a scenario within UAC is the following.

Step 1: Create a Monitor Task which monitors the failure of tasks by configuring related "Monitor Details".

Image Added

Step 2: Configure the ServiceNow Incident task. The created Incident Task propagates the output of the failing failed Task Instance as an attachment to ServiceNow. For that a Task Monitor trigger is required. More information on this on Step 3.

Image Modified

Step 3: Create a Task Monitor Trigger linked to the Monitor Task (on Step 1) which controls the action that needs to be taken when monitor successfully monitors a failure, in this case the trigger of an incident ticket configure on Step 2.

Image Added

Task Output

Exit Codes

...

Attribute changed is populated as follows

  • falsetrue, in case ServiceNow incident is successfully created.
  • truefalse, in case ServiceNow incident is not successfully created.

...