An Expression that evaluates an MVEL script against the current lead, journey node, funnel and any provided variables. Registered under the JSON type "mvel". The expression text is compiled and run by MVEL.eval, with the lead, exitingNode, funnel and a Formatter made available to the script as variables, alongside anything passed in providedVars. Used where a funnel definition needs a computed value rather than a fixed constant.

Implements: Expression, Serializable


Properties

PropertyReturnsDescription
expressionStringThe MVEL script text this expression evaluates.
labelStringA short display label for this expression, used in the funnel editor UI.

Methods

getLabel()

Returns: String

A short display label for this expression, used in the funnel editor UI.

getExpression()

Returns: String

The MVEL script text this expression evaluates.

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