Questions tagged [drools-fusion]

Drools Fusion (event processing/temporal reasoning) – provides for complex event processing (Source: Wikipedia)

164 questions
0
votes
0 answers

I am not able to use XLS file in drools 6.3.0

I have created a XLSX file, And uploaded it, But am not able to see that xlsx converted decision table. I have uploaded the xlsx file also. But not able to see the converted table. Can anyone please suggest me what I am missing here.
0
votes
0 answers

How can I customize Guided decision table for adding a new window using drools 6.3.0

I am a newbie to drools 6.3.0, as per our project requirement I need to customize the Guided decision table. I want to add a new window there where elements can be imported from a file and I want to drag and drop these elements on decision table…
0
votes
1 answer

Drools rule for spikes in heart rate

I only recently started with drools and I need to process heart rate data. I need to create a a rule in drools fusion that fires when there are 3 or more spikes in the heart rate data of 60 or more then the average over the last hour. The picture…
0
votes
1 answer

Drools rule fire only for inserted event

I have a multiple uses with each a sensor that sends pedometer data. I have a rule file that based on the macAddress, fires the rule: declare Steps @role(event) end declare User @role(fact) end rule "MAC" when User( $mac: macAddress )…
Tim
  • 445
  • 5
  • 19
0
votes
1 answer

Drools Fusion rule language: pedometer rule

I'm a newbie to Drools (version 6.3) and I have some trouble coming up with a specific rule. I have a class called Steps with just a simple field double steps;. Each step event represent the steps taken since the previous event and I have a working…
Tim
  • 445
  • 5
  • 19
0
votes
1 answer

Drools Rule Language: rule not always fired

I'm new to Drools Fusion and I'm trying to figure out why my rule isn't always fired. I'm using Drools 6.3. These are the events I'm inserting: private static void initMessageObject() { SessionPseudoClock clock =…
Tim
  • 445
  • 5
  • 19
0
votes
1 answer

Drools in stream mode : OutOfMemory in karaf

My DRL file: package com.sample.eventmanagement; import com.sample.eventmanagement.CheckInEvent import com.sample.eventmanagement.LateCheckInEvent global java.util.concurrent.BlockingQueue lateCheckInEntitiesQueue; global…
Abirami
  • 87
  • 7
0
votes
0 answers

Drools in stream mode not working in Karaf

I am new to Drools, investigating to use Drools Fusion CEP for our product. I am executing Drools (in stream mode) fusion 6.0.2.Final in karaf 2.4.3. My kmodule.xml
Abirami
  • 87
  • 7
0
votes
0 answers

Disappearing Declarations, Adding Kie artifacts to a KieFileSystem

We are using KieFileSystem to dynamically manage Drools rules. When I have a new rule I add it to the KieServices using KieFileSystem but I am overwriting my rules, not appending them. As soon as I insert another rule the declarations I created in…
pjc
  • 240
  • 5
  • 14
0
votes
1 answer

Drools event lifecycle

I've had to create pairs of rules to retract my events. It seems they don't expire. I had wanted one-and-done events. You can see below, they use the default duration, zero. So for example, if I exclude the retraction rules and then insert the…
pjc
  • 240
  • 5
  • 14
0
votes
1 answer

Drools Fusion time sliding based windows

I cannot undestand how JBoss Drools inference engine works with complex event processing (drools fusion). Actually i created a rule in order to deny a transaction if more than 2 transactions occour in less than 5 seconds. Here is the rule rule "more…
0
votes
2 answers

Drools fusion not firing rules in the case of new event

I am working on drools fusion 6.2 final and want to fire rules in the case of new event in stream mode. But rules are not getting fired at its own. My rules file content is as follows: //created on: May 8, 2015 package com.test import…
0
votes
1 answer

is it possible to use salience and timer together?

Is it true that rule B should be triggered before A? Because it doesn't work for me. rule A salience 0 timer(int: 20s) when ... rule B salience 1 timer(int: 20s) when ... Edit: Conditions of the two are…
Mike
  • 20,010
  • 25
  • 97
  • 140
0
votes
1 answer

Check whether the sum in a list is greater than 100

I have to write a drool function on a list which has to do the following thing create a summation check whether the summation is greater than 100. below is the drool rule I have created rule "001" when $charge :…
0
votes
1 answer

facing issue to iterate list in drools

facing problem with List iteration in drools GoodsShipment has the list of GoodsItems and GoodsItem has the list of Documents my requirement is, need to check atleast one document is available or no. iam tried this but failed writen a class to…
Ramesh
  • 340
  • 1
  • 7
  • 21