Funnel automation action that activates or acknowledges an Alert on the profile of the lead that triggered the automation. Resolves the configured website within the event's organisation, then looks up the named alert on that website. When disable is not set the alert is activated for the lead's profile; when disable is true the alert is acknowledged (deactivated) instead. Registered under the action type id "activateAlert" via ActivateAlertFunnelActionType.
Group: Journeys
Implements: FunnelAction, Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| alertId | String | Name of the alert to activate or acknowledge, looked up against the resolved website by name. |
| disable | Boolean | When true, this action acknowledges (deactivates) the alert instead of activating it. |
| fields | List<Pair<ExtraField,Object>> | Builds the configuration fields shown for this action in the automation editor, pairing each ExtraField definition with its current value. |
| funnelActionTypeId | String | The fixed action type identifier for this action, used to look up its ActivateAlertFunnelActionType registration. |
| website | String | Name of the website whose alert this action operates on. |
Methods
getFunnelActionTypeId()
Returns: String
The fixed action type identifier for this action, used to look up its ActivateAlertFunnelActionType registration.
getFields()
Returns: List<Pair<ExtraField,Object>>
Builds the configuration fields shown for this action in the automation editor, pairing each ExtraField definition with its current value.
getWebsite()
Returns: String
Name of the website whose alert this action operates on.
getAlertId()
Returns: String
Name of the alert to activate or acknowledge, looked up against the resolved website by name.
getDisable()
Returns: Boolean
When true, this action acknowledges (deactivates) the alert instead of activating it.