Hi Erdem, Could you share also your pattern? If the “first” pattern has no quantifier, then it is expected to have only one event.
Kostas > On Oct 10, 2017, at 4:22 PM, Erdem erdfem <erdemyayla...@gmail.com> wrote: > > Hello, > > I want to take get pattern events. I use below code. When debug, context > has one event. I cant see other events. Can you help me? > > for (ObjectNode node : context.getEventsForPattern("first")) { > count += node.get(criterias.getPropName()).asInt(); > }