Funnel action that records a new data point against a named sales data series, evaluating the amount and date from configured expressions. Registered under the JSON type "createDataSeriesAction". Looks up the SalesDataSeries by dataSeriesName, evaluates amountMvel and recordDateMvel (either as kcode field expressions or MVEL expressions) to compute the recorded amount and date, and attributes the record to the lead's own profile or its assigned profile depending on useCustomerProfile. Additional field values can also be attached to the created record via extraFields.

Group: Journeys

Extends: AbstractGoalAction


Properties

PropertyReturnsDescription
amountMvelStringThe expression evaluated to compute the recorded amount, either a kcode field expression or an MVEL expression.
dataSeriesNameStringThe name of the sales data series the record is created against.
extraFieldsList<Map<String,String>>Additional field name/value pairs attached to the created data record, each entry a map with "name" and "value" keys, the value evaluated against the lead's fields.
recordDateMvelStringThe expression evaluated to compute the record's date, either a kcode field expression or an MVEL expression.
useCustomerProfileBooleanWhether the record is attributed to the lead's own profile rather than its assigned profile.

Methods

getDataSeriesName()

Returns: String

The name of the sales data series the record is created against.

getAmountMvel()

Returns: String

The expression evaluated to compute the recorded amount, either a kcode field expression or an MVEL expression.

getRecordDateMvel()

Returns: String

The expression evaluated to compute the record's date, either a kcode field expression or an MVEL expression.

getUseCustomerProfile()

Returns: Boolean

Whether the record is attributed to the lead's own profile rather than its assigned profile.

getExtraFields()

Returns: List<Map<String,String>>

Additional field name/value pairs attached to the created data record, each entry a map with "name" and "value" keys, the value evaluated against the lead's fields.

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