Skip to main content

createIncident

A Workflow Engine function that sends a request to the corresponding outbound integration workflow to create a new incident for the named service.

This function is available as a feature of the Add-ons v2.2 download and later.

This function is available for alert and Situation workflows.

Back to Workflow Engine Functions Reference.

Arguments

Workflow Engine function createIncident takes the following arguments:

Name

Required

Type

Description

serviceName

yes

string

The name of the incident integration; has the value alertops.

instanceName

no

string

An optional instance name for integrations supporting multiple instances. Default to the first instance.

templateName

no

string

A template name for integrations supporting predefined templates. If unspecified, a default template is used.

arguments

no

object

A JavaScript object that passes any additional arguments as context to the workflow and adds them to the existing workflow context.