Moogsoft Docs

setCoreEventField

A Workflow Engine function that sets a single core event field to a static value. For custom info, use the setCustomInfoValue or setCustomInfoJSONValue functions. For example set the agent_location field to "London".

This function is available for event workflows only.

Back to Workflow Engine Functions Reference.

Arguments

Workflow Engine function setCoreEventField takes the following arguments:

Name

Required

Type

Description

field

Yes

String

The field name other than custom_info.

value

Yes

Object

The static value to set.

Example

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

{"field":"signature","value":"mySource:myClass:myType"}