Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Disclaimer

Your use of this download is governed by Stonebranch’s Terms of Use, which are available at https://www.stonebranch.com/integration-hub/Terms-and-Privacy/Terms-of-Use/.

Version Information

Template Name

Extension Name

Extension Name

Extension Version

ServiceNow Event

ue-servicenow-event

1.0.

0

1

Refer to Changelog for version history information.

...

This integration provides the ability capability to generate (register) an Event in the ServiceNow Platform.

Key Features

...

Output Type

Description

Example

EXTENSION

The extension output provides the following information:

  • “exit_code“, “status“ , “status_description“: General info regarding the task execution. For more information users can refer to the exit code table.

  • “invocation” > “fields”: The task configuration used for this task execution.

  • “result” > “event_info“: Detailed information on registered event is printed as returned by ServiceNow EndPoints. Visbility of information might differ based on ServiceNow Platform configuration and version.

  • “result” > “errors“: List of errors that might have occurred during execution.

Expand
titleSuccessful task execution with result.event_info JSON element populated.
Code Block
languagejson
{
    "exit_code": 0,
    "status": "SUCCESS",
    "status_description": "Task executed successfully.",
    "invocation": {
        "extension": "ue-servicenow-event",
        "version": "1.0.0",
        "fields": {...}
    },
    "result": {
        "event_info": {
            "resolution_state": "Closing",
            "processing_sn_node": "",
            "description": "my_description",
            "source": "my_source2",
            "sys_updated_on": "2023-09-25 23:06:38",
            "type": "my_event_type",
            "ci_identifier": "",
            "sys_id": "192e633097e1711048dbf5b0f053afa8",
            "sys_updated_by": "admin",
            "ci_type": "",
            "metric_name": "my_metric_name",
            "alert": "",
            "processing_notes": "",
            "sys_created_on": "2023-09-25 23:06:38",
            "sys_domain": {
                "link": "https://dev106436.service-now.com/api/now/table/sys_user_group/global",
                "value": "global"
            },
            "state": "Ready",
            "message_key": "this is a message key",
            "sys_created_by": "admin",
            "time_of_event": "2023-09-26 22:47:23",
            "severity": "2",
            "error_msg": "",
            "cmdb_ci": "",
            "resource": "my_resource",
            "sys_mod_count": "0",
            "event_rule": "",
            "classification": "0",
            "sys_tags": "",
            "bucket": "87",
            "node": "my_node",
            "processed": "",
            "additional_info": "{param1=value1, param2=value2}",
            "processing_duration": "",
            "event_class": "my_event_class"
        }
    }
}
Expand
titleErroneous execution
Code Block
languagejson
{
	"exit_code": 1,
	"status": "FAIL",
    "status_description": "<mesage description>",
  	"invocation": {
        "extension": "ue-servicenow-event",
        "version": "1.0.0",
        "fields": { ... },
    },
	"result": {
        "errors": [
            "Data Validation Error: Invalid date 2024-10-10 10, must be in YYYY-MM-DD [HH:MM:SS] format"
        ],
	}
}

STDOUT

Empty

Empty

STDERR

General logging information about the state and execution of the extension

...

Modifications of this integration, applied by users or customers, before or after import, might affect the supportability of this integration. For more information refer to Integration Modifications.

Configure Universal Task

...

Anchor
changelog
changelog

Changelog

ue-servicenow-event-1.0.1 (2024-04-25)

Fixes

  • Fixed: Fixed bug where the contents of the additional_info field were not being properly recognized by ServiceNow

ue-servicenow-event-1.0.0 (2024-03-14)

...