-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi,
Lets say this is my event stream:
(User1, event1)
(User1, event2)
(User1, event1)
(User2, event2)
I want to check that any user that has event1 has also event2 (any user can have many such groups). Also, I don't want to specify a specific user, I want to check them all. I tried creating a sequence that matches this:
{
"comment": "First tdl",
"sequences": [{
"type": "CONTAINER",
"name": "BattleStarted has BattleEnded",
"sequenceMaxTime": "PT3M",
"checkPoints": [
{
"eventType": "1",
"set": ["BS_userId=userId", "BS_battleId=p_battleId", "BS_timestamp=timestamp"]
},
{
"eventType": "2",
"match": "userId==BS_userId && p_battleId==BS_battleId",
"validate": "timestamp > BS_timestamp"
}]
}]
}
The problem is checkpoint only matches first event it finds, so in this case, only first 2 events will be checked, failing to report that User1 does not have event2 for all event1. Is it possible for a sequence to search through all possible matches?
Metadata
Metadata
Assignees
Labels
No labels