# setExternalId

A Workflow Engine function that sets the external_id field of the event or 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 setExternalId takes the following arguments:

Name

Required

Type

Description

externalId

Yes

String

external_id value to set.