# setType

A Workflow Engine function that sets the type of the alert.

This function is available for alert and enrichment workflows.

## Arguments

Workflow Engine function setType takes the following arguments:

Name

Required

Type

Description

type

Yes

String

Type to set for this alert.

## Example

The following example demonstrates typical use of Workflow Engine function setType. If you want to set the type for an object to "availablity", enter the following:

• type: availability

The UI translates your settings to the following JSON:

{"type":"availability"}