Journey action that records which lead this one was spawned from, by evaluating an MVEL expression to a lead id and storing the referenced lead as this lead's source lead. Runs when the journey enters this node: the configured expression is evaluated with the current lead, the incoming request, the root folder and the formatter available as variables, and the resulting id is used to look up the matching lead. Used by journeys that create leads from other leads (see StartFunnelGoalAction and StartAndWaitFunnelGoal) so the origin lead can be traced back later. Registered under the type name setSourceLead.

Group: Journeys

Extends: AbstractGoalAction


Properties

PropertyReturnsDescription
sourceLeadIdMvelStringMVEL expression that is evaluated to the numeric id of the lead to record as this lead's source lead. Evaluated with lead, request, rootFolder and formatter available as variables. When blank, onEnter does nothing.

Methods

getSourceLeadIdMvel()

Returns: String

MVEL expression that is evaluated to the numeric id of the lead to record as this lead's source lead. Evaluated with lead, request, rootFolder and formatter available as variables. When blank, onEnter does nothing.

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