You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Taybou (Jira)" <ji...@apache.org> on 2020/08/17 16:14:00 UTC

[jira] [Created] (UNOMI-368) Introduce double value to condition parameter

Taybou created UNOMI-368:
----------------------------

             Summary: Introduce double value to condition parameter
                 Key: UNOMI-368
                 URL: https://issues.apache.org/jira/browse/UNOMI-368
             Project: Apache Unomi
          Issue Type: Improvement
            Reporter: Taybou
            Assignee: Taybou


h1. Assertion

Related to this use case:

 
I’m trying to create a segment based on a profilePropertyCondition that it's value is a double. I tried to use both “propertyValue” and “propertyValueInteger” and both didn’t work. I tried with and without quotation marks (“”). The condition I used:
{
    "type": "profilePropertyCondition",
    "parameterValues": {
        "propertyName": "properties.propName",
        "comparisonOperator": "greaterThanOrEqualTo",
        "propertyValueInteger": "0.8"
    }
}
How can I implement that?
 
h1. Resolution
The propertyValueDouble has been added to resolve condition matching instead of using string or integer value
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)