Skip to main content

sendTeamsRemovedToIncident

A Workflow Engine function that sends a request to the corresponding outbound integration workflow to remove a list of teams from the incident for the named service. By default, the teams to remove are obtained from the teamsRemoved workflowContext key. Use the optional teamNames argument to override the default behavior.

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 sendTeamsRemovedToIncident 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 instance name for integrations supporting multiple instances. Defaults to the first instance

teamNames

no

string

A list of team names. Example: TeamA, Team B

arguments

no

object

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