Fired when a new sales data record is created, so funnels can react to fresh sales activity. Carries the newly created sales data record and always triggers the sales-record-created goal. Raised by DataSeriesManager after a record is saved, and separately from the sales-data-updated event that follows it.
Group: Journeys
Implements: CommonAppEvent, FunnelEvent
Properties
| Property | Returns | Description |
|---|---|---|
| leadProfile | Profile | Profile associated with the sales data record: the profile who entered the record for an organisation-based series, or the profile of the sales rep otherwise. |
| relatedLead | Lead | This event is not associated with an existing lead, so this always returns null. |
| salesDataRecord | SalesDataRecord | The sales data record that was just created. Never null. |
| triggeredGoal | Class<? extends Goal> | Restricts matching to the sales-record-created goal, so only funnels using that goal are scanned when this event fires. |
Methods
getLeadProfile()
Returns: Profile
Profile associated with the sales data record: the profile who entered the record for an organisation-based series, or the profile of the sales rep otherwise.
getRelatedLead()
Returns: Lead
This event is not associated with an existing lead, so this always returns null.
getSalesDataRecord()
Returns: SalesDataRecord
The sales data record that was just created. Never null.
getTriggeredGoal()
Returns: Class<? extends Goal>
Restricts matching to the sales-record-created goal, so only funnels using that goal are scanned when this event fires.