Funnel automation action that revokes a previously awarded recognition badge from the lead associated with the triggering event. Looks up the configured RecognitionTopic and RecognitionBadge by name, then removes the badge award from the event's lead entity via RecognitionManager. Does nothing but log a warning if the lead, topic or badge cannot be resolved. Registered under the action type id "badgeRevoke" via BadgeRevokeFunnelActionType.
Group: Journeys
Implements: FunnelAction, Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| badgeName | String | Name of the badge to revoke, looked up within the configured topic. |
| 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 BadgeRevokeFunnelActionType registration. |
| topicName | String | Name of the RecognitionTopic that owns the badge to revoke. |
Methods
getFunnelActionTypeId()
Returns: String
The fixed action type identifier for this action, used to look up its BadgeRevokeFunnelActionType 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.
getBadgeName()
Returns: String
Name of the badge to revoke, looked up within the configured topic.
getTopicName()
Returns: String
Name of the RecognitionTopic that owns the badge to revoke.