Journey action that starts a new lead in another funnel when this node is entered, without waiting for it to finish. Resolves the target funnel by name, optionally checks the target's begin node for a one-per-profile restriction before creating a new lead there for a profile computed from the profile expression, defaulting to the current lead's own profile, optionally copies fields, evaluated as MVEL or field-service templates, and files from this lead onto the new one, then immediately advances to nextNodeId regardless of the outcome. Registered under the type name startFunnel.
Group: Journeys
Extends: AbstractGoalAction
Properties
| Property | Returns | Description |
|---|---|---|
| copyFilesToLead | List<String> | List of file name templates identifying files on this lead to copy onto the new lead when it is created. |
| funnelName | String | Name of the funnel repository to start a new lead in when this action runs. |
| profile | String | MVEL expression evaluated to select the profile the new lead is created for in the target funnel. May resolve to a numeric profile id or a username/email, which is then looked up. |
| setFieldsInLead | Map<String,String> | Map of lead field names to value templates, MVEL or field-service templates, evaluated against this lead and copied onto the new lead when it is created. |
| startGoal | String | Identifier of the begin node in the target funnel to start the new lead at, also used to check for an existing one-per-profile lead before starting. Null starts at the target funnel's default begin node. |
Methods
getFunnelName()
Returns: String
Name of the funnel repository to start a new lead in when this action runs.
getStartGoal()
Returns: String
Identifier of the begin node in the target funnel to start the new lead at, also used to check for an existing one-per-profile lead before starting. Null starts at the target funnel's default begin node.
getSetFieldsInLead()
Returns: Map<String,String>
Map of lead field names to value templates, MVEL or field-service templates, evaluated against this lead and copied onto the new lead when it is created.
getCopyFilesToLead()
Returns: List<String>
List of file name templates identifying files on this lead to copy onto the new lead when it is created.
getProfile()
Returns: String
MVEL expression evaluated to select the profile the new lead is created for in the target funnel. May resolve to a numeric profile id or a username/email, which is then looked up.