[
https://issues.apache.org/jira/browse/UNOMI-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Draier updated UNOMI-24:
-------------------------------
Fix Version/s: 1.1.0-incubating
> Contextual parameters not interpolated in PastEventConditions
> -------------------------------------------------------------
>
> Key: UNOMI-24
> URL: https://issues.apache.org/jira/browse/UNOMI-24
> Project: Apache Unomi
> Issue Type: Bug
> Reporter: Thomas Draier
> Assignee: Thomas Draier
> Fix For: 1.1.0-incubating
>
>
> By creating the following custom condition :
> {
> "metadata": {
> "id": "productPurchaseProfileCondition",
> "name": "productPurchaseProfileCondition",
> "description": "",
> "tags": [
> "event",
> "profileCondition"
> ],
> "readOnly": true
> },
> "parentCondition": {
> "type": "pastEventCondition",
> "parameterValues": {
> "eventCondition": {
> "type": "productPurchaseEventCondition",
> "parameterValues": {
> "productId": "parameter::productId"
> }
> },
> "minimumEventCount": 1
> }
> },
> "parameters": [
> {
> "id": "productId",
> "type": "string",
> "multivalued": false
> }
> ]
> }
> The "productId" is not replaced by the parameter value
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)