[
https://issues.apache.org/jira/browse/UNOMI-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16164296#comment-16164296
]
Serge Huber commented on UNOMI-97:
----------------------------------
Hello Don,
Yes I believe this makes sense, although I think it might be better to define a
new action, something like "sendEvent". This would be possibly generic enough
to send any event with properties, achieving both your goal and possibly lots
of other cool things.
The only tricky part about this is potential loops in the rules engine, as
triggering an event might trigger additional rule executions. We might need to
look at a system to detect loops.
cheers,
Serge...
> Conditions Spanning Multiple Types
> ----------------------------------
>
> Key: UNOMI-97
> URL: https://issues.apache.org/jira/browse/UNOMI-97
> Project: Apache Unomi
> Issue Type: Test
> Components: core
> Affects Versions: 1.2.0-incubating
> Reporter: Damon Henry
> Priority: Minor
> Fix For: 1.3.0-incubating
>
>
> I'm attempting to create boolean conditions that retrieve unique profile
> counts but I may be interpreting the documentation incorrectly. A contrived
> example is asking the context server to give me all profiles performing a
> page view event. The example below provides the expected result when querying
> the *event* type but return 0 when querying the *profile* type.
> Is there a method to build segments using attributes from profiles, sessions,
> and events?
> http://localhost/cxs/query/event/count (return expected correct number of
> events)
> http://localhost/cxs/query/profile/count (returns zero; should this return
> unique profiles)
> {code}
> {
> "parameterValues": {
> "operator": "and",
> "subConditions": [
> {
> "parameterValues": {
> "propertyValue": "page",
> "comparisonOperator": "equals",
> "propertyName": "target.itemType"
> },
> "type": "eventPropertyCondition"
> },
> {
> "parameterValues": {
> "propertyValue": "view",
> "comparisonOperator": "equals",
> "propertyName": "eventType"
> },
> "type": "eventPropertyCondition"
> }
> ]
> },
> "type": "booleanCondition"
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)