Questions tagged [rule-engine]

Rule engines are software components that allow application developers to externalize business rules and manage their lifecycle independently from the application code.

Rule engines

Rule engines are software components that allow application developers to externalize business rules and manage their lifecycle independently from the application code. They typically use a higher level declarative language (in contrast to the typical imperative paradigm of languages like Java and C++) and use specific algorithms for scalability and high performance. A good analogy is that Rule Engines do for business rules what databases do for data.

Resources

961 questions
0
votes
1 answer

Accessing drool rules details in Java code

I am novice in Drools rule engine. I have created a single rule file i.e. .drl file. In that file, I have defined three rules and assigned priority to each using salience attribute. Once the rules have been executed, I want to know the details of…
Anand
  • 20,708
  • 48
  • 131
  • 198
0
votes
1 answer

How do I Use the Drools debugWorkingMemorylistener?

The following line of code straight from the documentation ksession.addEventListener(new DebugWorkingMemoryEventListener()); prompts the following error in eclipse The method addEventListener(WorkingMemoryEventListener) in the type …
Pete_ch
  • 1,301
  • 2
  • 28
  • 39
0
votes
1 answer

Drools rule engine Usage-Handling Huge data

I have a case where i getting packets from a device and inserting that data in a MySQL table.There are 4000 devices and from each device i am getting packets in every two minutes.Each packet data need to monitor and do some database operation.So i…
vmb
  • 2,878
  • 15
  • 60
  • 90
0
votes
1 answer

WSO2ESB- The 'name' attribute is required for a Proxy service definition

I have a problem in deploying this sample: "Complex Event Processing and Business Rule Management With SOA" (Link: http://wso2.org/library/articles/2011/07/complex-event-processing-business-rule-management-soa) I did all the details, but when I copy…
0
votes
1 answer

Force execution of pattern rules when the target is not explicitly used

I have a Makefile which takes care of downloading a few javascript files needed as a prerequisite for r.js For each of them I've created a .url file which contains the url where the .js file can be downloaded, and set up a pattern rule like…
fortran
  • 74,053
  • 25
  • 135
  • 175
0
votes
2 answers

Rule Evaluation Systems and "not exact" matches (ej: x < 3000)

I am designing a rule evaluation system which need to handle a fact database and certain rules over the database. We currently have a modified version of RETE that works partially right with some drawbacks. The problem is the rules doesn't limit to…
Jorge Córdoba
  • 51,063
  • 11
  • 80
  • 130
0
votes
2 answers

Execute business rules dynamically on an Oracle table

I am trying to apply some business rules (inclusion and exclusion rules) on an Oracle table and update a status column based on the rules. A file will be later extracted from this table based on the value of the status column. Now the business wants…
user2026504
  • 69
  • 1
  • 9
0
votes
1 answer

Part of DROOLS ruleflow not working randomly

We have a main ruleflow which calls 8 more rule flows (Rule1.rf to Rule8.rf) through an AND splitter. One of the rule flows - say Rules4.rf - is fired sometimes and not fired sometimes. This is for an online application and we use jBoss. When the…
Raghu
  • 1
  • 1
0
votes
2 answers

decision making libraries

problem context: a list of actions in the system, create this, delete that, edit those etc... a list of roles admin, reader, reporter etc... a list of emails to send, emergency email, alert email, etc... I have a decision matrix, which describes…
Junchen Liu
  • 5,435
  • 10
  • 51
  • 62
0
votes
1 answer

Local version of Drools Guvnor

I've read many stuff about Drools Guvnor and the interaction with Drools Planner. It would be very useful to create and change rules, without coding them. But I've read that Guvnor is a webapplication. Is there a solution to run Guvnor as local…
Vivid
  • 399
  • 1
  • 8
  • 19
0
votes
2 answers

Business logic: moving from stored procedures to BRMS. Pros and cons

We're developing an application which implements business logic in stored procedures on an Oracle database. It has been this way for a few years. The business rules are many, diverse and get often customized for specific customers. Currently they're…
user881430
  • 195
  • 1
  • 1
  • 11
0
votes
2 answers

Evaluation of Drools Flow with Drools Expert on a web based J2ee project

I am evaluating drools flow as wrokflow engine with drools expert rule. Key evaluation points: Generating Customize Rules and Workflow through own custom Web UI Admin user can see all of the items in workflow in UI (View job queue: current…
Prem
0
votes
1 answer

Drools rules for this requirement

I have xml similar to below: D Dental 121
pavanlapr
  • 279
  • 1
  • 5
  • 15
0
votes
1 answer

temporal rule engine for alarm management

I am looking for a rule based system (forward chaining) like CLIPS than can do temporal reasoning, i.e. phrases of the form: If condition active for more than 10s... If condition1 becomes active less than 10s after condition2 becomes active... If…
Dan
  • 161
  • 1
  • 4
0
votes
1 answer

Drools json Api call which contains Date (rule engine)

I am trying to call Drools Json api and one of my facts is of type Date. I am not sure how to construct the json string for that. !!!!????????? :( here is what I have: my drl file: package com.beachmint.common declare Order orderId: Integer …