Funnel action that sets one or more custom field values on a lead when it enters the node. The primary field name and value expression are configured via fieldName and fieldValueMvel; additional fields can be set from the fields map. Each value is evaluated either as plain text through the fields service, or as an MVEL expression, and written to the lead or, when setInSource is true, to the lead's source lead instead.

Group: Journeys

Extends: AbstractGoalAction


Properties

PropertyReturnsDescription
fieldNameStringName of the primary custom field to set on the lead.
fieldsMap<String,String>Additional field name to value-expression mappings set alongside the primary fieldName/fieldValueMvel pair when this node is entered.
fieldValueMvelStringExpression evaluated to produce the value written to fieldName: plain text through the fields service when plainText is true, otherwise an MVEL expression.
plainTextbooleanWhether field value expressions are evaluated as plain text through the fields service rather than as MVEL expressions.
setInSourcebooleanWhether field values are written to the lead's source lead instead of the lead itself.

Methods

getFields()

Returns: Map<String,String>

Additional field name to value-expression mappings set alongside the primary fieldName/fieldValueMvel pair when this node is entered.

getFieldName()

Returns: String

Name of the primary custom field to set on the lead.

getFieldValueMvel()

Returns: String

Expression evaluated to produce the value written to fieldName: plain text through the fields service when plainText is true, otherwise an MVEL expression.

getSetInSource()

Returns: boolean

Whether field values are written to the lead's source lead instead of the lead itself.

getPlainText()

Returns: boolean

Whether field value expressions are evaluated as plain text through the fields service rather than as MVEL expressions.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.