Automation action that delegates its behaviour to a custom action type registered by a marketplace app, via FunnelActionTypeBuilder. Identifies the RepoAppFunnelActionType it delegates to by funnelActionId and carries a map of app-defined parameter values that the app's JS action function reads when the automation runs. Registered as the "repoAppAction" JSON subtype of FunnelAction.
Group: Journeys
Implements: FunnelAction, Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| fields | List<Pair<ExtraField,Object>> | Configuration fields shown in the automation editor for this action, as defined by the resolved app action type, paired with the currently configured parameter values. Empty if the action type cannot be resolved. |
| funnelActionId | String | Id of the RepoAppFunnelActionType this action delegates to, matching that type's getId(). Never null for a configured action. |
| funnelActionTypeId | String | Identifier of the action type this action is an instance of, always "repoAppAction". Used to look up this class as the FunnelAction implementation from the JSON subtype registry. |
| parameters | Map<String,Object> | App-defined parameter values configured for this action instance, keyed by the field name declared in the action type's ExtraField list. May be null if the action has not been configured. |
Methods
getFields()
Returns: List<Pair<ExtraField,Object>>
Configuration fields shown in the automation editor for this action, as defined by the resolved app action type, paired with the currently configured parameter values. Empty if the action type cannot be resolved.
getFunnelActionId()
Returns: String
Id of the RepoAppFunnelActionType this action delegates to, matching that type's getId(). Never null for a configured action.
getParameters()
Returns: Map<String,Object>
App-defined parameter values configured for this action instance, keyed by the field name declared in the action type's ExtraField list. May be null if the action has not been configured.
getFunnelActionTypeId()
Returns: String
Identifier of the action type this action is an instance of, always "repoAppAction". Used to look up this class as the FunnelAction implementation from the JSON subtype registry.