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:15:00 UTC
[jira] [Updated] (UNOMI-368) Introduce double value to condition
parameter
[ https://issues.apache.org/jira/browse/UNOMI-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Taybou updated UNOMI-368:
-------------------------
Description:
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:
{code:java}
{
"type": "profilePropertyCondition",
"parameterValues": {
"propertyName": "properties.propName",
"comparisonOperator": "greaterThanOrEqualTo",
"propertyValueInteger": "0.8"
}
}
{code}
How can I implement that?
h1. Resolution
The propertyValueDouble has been added to resolve condition matching instead of using string or integer value
was:
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
> 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
> Priority: Major
>
> 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:
> {code:java}
> {
> "type": "profilePropertyCondition",
> "parameterValues": {
> "propertyName": "properties.propName",
> "comparisonOperator": "greaterThanOrEqualTo",
> "propertyValueInteger": "0.8"
> }
> }
> {code}
> 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)