This is an automated email from the ASF dual-hosted git repository. taybou pushed a commit to branch UNOMI-446-inc in repository https://gitbox.apache.org/repos/asf/unomi.git
commit 13bffdd7356edced01d65f086c7ea40836c78549 Author: Taybou <[email protected]> AuthorDate: Mon Mar 29 17:29:38 2021 +0200 UNOMI-446 update session assigned rule increment action --- .../src/main/resources/META-INF/cxs/rules/sessionAssigned.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/plugins/baseplugin/src/main/resources/META-INF/cxs/rules/sessionAssigned.json b/plugins/baseplugin/src/main/resources/META-INF/cxs/rules/sessionAssigned.json index 9603b81..53cfef5 100644 --- a/plugins/baseplugin/src/main/resources/META-INF/cxs/rules/sessionAssigned.json +++ b/plugins/baseplugin/src/main/resources/META-INF/cxs/rules/sessionAssigned.json @@ -48,12 +48,10 @@ }, { "parameterValues": { - "setPropertyName": "properties.nbOfVisits", - "setPropertyValue": "script::profile.properties.?nbOfVisits != null ? (profile.properties.nbOfVisits + 1) : 1", + "propertyName": "nbOfVisits", "storeInSession": false }, - "type": "setPropertyAction" + "type": "incrementPropertyAction" } ] - -} \ No newline at end of file +}
