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