A funnel action that lets a marketplace app supply its own custom logic to run when the node is entered. When entered, this node searches every active repo app's registered node types for a custom action node type whose name matches the configured node type, then invokes that app's registered JS method, passing it the current root folder, lead, funnel and exiting node. If the JS method returns a non-null value, that value is used as the next node id in place of the configured one. It is the action-node counterpart of RepoAppEventGoal, letting apps extend the funnel editor with their own node types.
Group: Journeys
Extends: AbstractGoalAction
Implements: RepoAppJourneyNode, Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| customNextNodes | Map<String,String> | App-specific mapping of logical outcome names to journey node ids, passed through to the app's JS method so it can resolve its own next-node choices. |
| customSettings | Map<String,Object> | App-specific settings for this node instance, passed through to the app's JS method as configuration. |
| nextNodeId | String | Id of the journey node to transition to when the app's JS method does not itself return a next node id. |
| nodeType | String | Name of the custom action node type this node instance represents, used to find the matching app-registered node type and its JS method when the node is entered. |
Methods
getNextNodeId()
Returns: String
Id of the journey node to transition to when the app's JS method does not itself return a next node id.
getNodeType()
Returns: String
Name of the custom action node type this node instance represents, used to find the matching app-registered node type and its JS method when the node is entered.
getCustomNextNodes()
Returns: Map<String,String>
App-specific mapping of logical outcome names to journey node ids, passed through to the app's JS method so it can resolve its own next-node choices.
getCustomSettings()
Returns: Map<String,Object>
App-specific settings for this node instance, passed through to the app's JS method as configuration.