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

PropertyReturnsDescription
fieldsList<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.
funnelActionIdStringId of the RepoAppFunnelActionType this action delegates to, matching that type's getId(). Never null for a configured action.
funnelActionTypeIdStringIdentifier 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.
parametersMap<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.

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