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 18:30:25 UTC

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

     [ https://issues.apache.org/jira/browse/UNOMI-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Draier resolved UNOMI-24.
--------------------------------
    Resolution: Fixed

> 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)