Fired when a RecognitionAward is made, ie a participant reaches a recognition level or otherwise earns points. A JS event listener typically translates this into a RepoAppFunnelEvent via eventManager.goalAchieved so it can drive journeys, automations and event listeners. It also implements IndexedItemUpdatedEvent so the award is picked up by the search index, and carries the current Hibernate transaction so listeners can act within it.
Group: Journeys
Implements: CommonFunnelEvent, Event, IndexedItemUpdatedEvent
Properties
| Property | Returns | Description |
|---|---|---|
| award | RecognitionAward | The award that was made. |
| branch | Branch | The branch associated with this event. |
| deleted | boolean | Whether the updated object was deleted rather than created or changed. |
| leadEntity | BaseEntity | The entity who received the award, which may be a profile or an org depending on the topic's scope. |
| leadProfile | Profile | The profile of the participant who received the award. |
| relatedLead | Lead | The lead associated with this event. |
| transaction | Transaction | The Hibernate transaction that was active when this event was created. |
| updatedObject | Object | The object to be reindexed as a result of this event. |
Methods
getLeadProfile()
Returns: Profile
The profile of the participant who received the award.
getLeadEntity()
Returns: BaseEntity
The entity who received the award, which may be a profile or an org depending on the topic's scope.
getAward()
Returns: RecognitionAward
The award that was made.
getRelatedLead()
Returns: Lead
The lead associated with this event.
getBranch()
Returns: Branch
The branch associated with this event.
getUpdatedObject()
Returns: Object
The object to be reindexed as a result of this event.
isDeleted()
Returns: boolean
Whether the updated object was deleted rather than created or changed.
getTransaction()
Returns: Transaction
The Hibernate transaction that was active when this event was created.