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
| Property | Returns | Description |
|---|---|---|
| amountMvel | String | The expression evaluated to compute the recorded amount, either a kcode field expression or an MVEL expression. |
| dataSeriesName | String | The name of the sales data series the record is created against. |
| extraFields | 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. |
| recordDateMvel | String | The expression evaluated to compute the record's date, either a kcode field expression or an MVEL expression. |
| useCustomerProfile | Boolean | Whether 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.