Fired when a profile is tagged in a forum post or comment. Raised by CommentService.tag() once the tag is persisted, for trigger and automation listeners keyed on the postTagReceived event id. Trigger item 1 is the id of the website the tagged post belongs to. Trigger item 2 is the free-text comment left with the tag, if any. Trigger items 3 to 5 are unused. Event ID: postTagReceived

Implements: TriggerEvent


Properties

PropertyReturnsDescription
attributesMap<String,Object>Mutable attribute map used to pass extra key-value data to trigger and template rendering. Empty by default for this event.
eventIdStringId used to match this event against trigger definitions: postTagReceived.
sourceProfileProfileProfile that received the tag - the person the automation or notification trigger is evaluated against.
triggerItem1StringFirst trigger item: the id of the website the tagged post belongs to, as a string.
triggerItem2StringSecond trigger item: the free-text comment attached to the tag.
triggerItem3StringThird trigger item. Always null for this event.
triggerItem4StringFourth trigger item. Always null for this event.
triggerItem5StringFifth trigger item. Always null for this event.
websiteWebsiteWebsite the tagged post or comment belongs to.

Inherited from TriggerEvent

Properties

PropertyReturnsDescription
serialisablebooleanWhether this event's attributes were built to survive being persisted, ie every value is a plain serialisable value rather than a persistent entity or some other object that only makes sense inside the firing transaction. Only the firing app can know this, so it declares it - see EventBuilder. An agent that subscribes to an event does not run when it fires. The event is written to storage as JSON, buffered with others, and read back minutes later in a different session, so a value that cannot be written and read back is not merely awkward, it breaks the whole delivery. The agent framework therefore ignores any event which does not say yes here.

Methods

isSerialisable()

Returns: boolean

Whether this event's attributes were built to survive being persisted, ie every value is a plain serialisable value rather than a persistent entity or some other object that only makes sense inside the firing transaction. Only the firing app can know this, so it declares it - see EventBuilder. An agent that subscribes to an event does not run when it fires. The event is written to storage as JSON, buffered with others, and read back minutes later in a different session, so a value that cannot be written and read back is not merely awkward, it breaks the whole delivery. The agent framework therefore ignores any event which does not say yes here.


Methods

getSourceProfile() · getEventId() · getWebsite() · getTriggerItem1() · getTriggerItem2() · getTriggerItem3() · getTriggerItem4() · getTriggerItem5() · getAttributes()

getSourceProfile()

Returns: Profile

Profile that received the tag - the person the automation or notification trigger is evaluated against.

getEventId()

Returns: String

Id used to match this event against trigger definitions: postTagReceived.

getWebsite()

Returns: Website

Website the tagged post or comment belongs to.

getTriggerItem1()

Returns: String

First trigger item: the id of the website the tagged post belongs to, as a string.

getTriggerItem2()

Returns: String

Second trigger item: the free-text comment attached to the tag.

getTriggerItem3()

Returns: String

Third trigger item. Always null for this event.

getTriggerItem4()

Returns: String

Fourth trigger item. Always null for this event.

getTriggerItem5()

Returns: String

Fifth trigger item. Always null for this event.

getAttributes()

Returns: Map<String,Object>

Mutable attribute map used to pass extra key-value data to trigger and template rendering. Empty by default for this event.

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