You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by ta...@apache.org on 2021/03/29 15:29:46 UTC
[unomi] branch UNOMI-446-inc created (now 13bffdd)
This is an automated email from the ASF dual-hosted git repository.
taybou pushed a change to branch UNOMI-446-inc
in repository https://gitbox.apache.org/repos/asf/unomi.git.
at 13bffdd UNOMI-446 update session assigned rule increment action
This branch includes the following new commits:
new 13bffdd UNOMI-446 update session assigned rule increment action
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[unomi] 01/01: UNOMI-446 update session assigned rule increment
action
Posted by ta...@apache.org.
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 <be...@gmail.com>
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
+}