You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Thomas Draier (JIRA)" <ji...@apache.org> on 2016/04/15 17:39:25 UTC

[jira] [Created] (UNOMI-24) Contextual parameters not interpolated in PastEventConditions

Thomas Draier created UNOMI-24:
----------------------------------

             Summary: 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


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)