An Expression that always evaluates to a single, pre-configured value. This is the default implementation used for the Expression JSON type when no type discriminator is present, and is registered under the JSON type "constant". Unlike MvelExpression or QueryBuilderExpression it ignores the lead, journey node, funnel and any provided variables and simply returns the fixed value it was built with.

Implements: Expression, Serializable


Properties

PropertyReturnsDescription
labelStringA short display label for this expression, used in the funnel editor UI.
valueObjectThe fixed value this expression evaluates to.

Methods

getValue()

Returns: Object

The fixed value this expression evaluates to.

getLabel()

Returns: String

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

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