Moogsoft Docs

prependString

A Workflow Engine function that prepends a string 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 prependString takes the following arguments:

Name

Required

Type

Description

string

Yes

String

String to prepend.

destination

Yes

String

Field to prepend the concatenated string to.

Example

The following example demonstrates typical use of Workflow Engine function prependString.

{"string":"This is an example of prepending further description.","destination":"description"}