# setAgent

A Workflow Engine function that sets the Agent field of the alert.

This function is available as a feature of the Workflow Engine v1.2 download and later.

This function is available for event, alert, and enrichment workflows.

## Arguments

Workflow Engine function setAgent takes the following arguments:

Name

Required

Type

Description

agent

Yes

String

Agent value to set.