Moogsoft Docs

prependFields

A Workflow Engine function that prepends a concatenated set of fields to an existing field, using a separator character.

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

Back to Workflow Engine Functions Reference.

Arguments

Workflow Engine function prepEndFields takes the following arguments:

Name

Required

Type

Description

sourceFields

Yes

Object

An array of fields to concatenate, in the format: [ field1, ..., fieldn ].

separator

Yes

String

Separator to use between the concatenated values. Do not use quotes around the separator.

destination

Yes

String

Field to prepend the concatenated string to.