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
-1
votes
1 answer

Question: Can you perform contains operations on a global variable of type list in Drools

i was wondering if i can perform a contains operation on the left hand side (LHS) on a drools rule. Something of the sort: global java.util.List myGlobalList; dialect "mvel" rule "checker" when Task() from myGlobalList then …
Alex Vulchev
  • 201
  • 1
  • 2
  • 15
-1
votes
1 answer

How can we call a defrule inside another defrule?

I am totally new to CLIPS and I would like to know how could we call a defrule inside another defrule. For example if one rule does a regular job like printing or swapping, and another rule wants to call it after doing pattern-matching itself; how…
user47
  • 141
  • 7
-1
votes
1 answer

empty cells check in rule-engine decision tables

I want to create a decision table with some empty cells. the auto-generated rule is like this. rule "Row 1 some name" enabled false salience -99 no-loop true dialect "mvel" when $p : Model1( name == "string" ) $output : Model2( model3Code==…
-1
votes
2 answers

If the requirements can change in future, is it a good idea to pull the business rules out of the code into a custom rule engine?

We have a requirement such that Users need to be presented different facts based on some constraints. Similar Hypothetical Example If User belongs to Australia and earns more than 10k$ then show XYZ view of data/facts If User belongs to USA and…
Acharya
  • 19
  • 3
-1
votes
1 answer

Is Backward chaining supported? Are there any examples?

I am evaluating durable-rules against Drools and I see mention of "Backward chaining" in Drools documentation - but not in durable-rules. Is this feature supported by durable-rules? Is there an example?
sureshvv
  • 4,234
  • 1
  • 26
  • 32
-1
votes
1 answer

Drools - multiple activation group

I have written a Drool rule as shown below: rule "first and second" activation-group "first" activation-group "second" when // conditions then // actions end However, when compiling, I get this…
Swaroop Nagendra
  • 609
  • 2
  • 15
  • 25
-1
votes
1 answer

Implementing multiple rules on given data in Java

I need to implement plenty of rules on the data that I'll receive on daily basis. Data will have information about the user actions like someone clicking on an advertisement. We want to ignore some of the clicks based on rules like - anyone…
rupesh
  • 413
  • 9
  • 19
-1
votes
1 answer

platform agnostic rules or workflow engine

I have a requirement to use the platform agnostic rules engine which needs to run with my java and .net application. In both the windows and linux platform. Do we have any opensource/commercial rules engine. Can someone share some experiences on…
-1
votes
1 answer

Rules engines for CodeIgniter

What are some some of the most scalable Rules engines for CodeIgniter?
-1
votes
1 answer

Creating a simple Java Rule Engine

We are trying to build a generic Alert Registration Service for consumers. Here is the problem we are trying to solve : An alert can have 'N' templates registered.Each template would be picked up based on a rule match The rule is going to be…
-1
votes
1 answer

rules-based grouping of near-identical individuals (NOT clustering?)

I have datasets with roughly 100s of thousands of rows (or roughly 100s of thousands of RDF triples.) From a tabular standpoint, each row represents a person's participation in some process. The data are noisy, and what appear to be separate…
Mark Miller
  • 3,011
  • 1
  • 14
  • 34
-1
votes
1 answer

Validation Layer with interdependency checks

Existing backend services will be opened for more clients (adding a Web Service Layer to the Web-Frontend client). Currently, XML Schema is used for validation of DTOs, but since the frontend is out of our control, we will have to move extended…
Ice09
  • 8,951
  • 4
  • 23
  • 25
-1
votes
1 answer

Is Ilog Jrules a opensource software?

Is Ilog Jrules a opensource software? If yes, can I please know the installation process of Rules Studio and Rules Execution server . I intend to use the eclipse plugin to have Rules Studio to develop business rules. If no, what can be the…
vinr
  • 25
  • 1
  • 10
-1
votes
1 answer

How to use String operation like split and compare in Drools condition

I have an Object with string member attribute which can have values like 23,4. Now I need to split the String in when block in drools rule like str.split[','][0] == 23 How can I do this?
-1
votes
1 answer

How can I use machine learning to predict failure in system log file?

I work on a project which have as a principal purpose A creation of a prediction system failures in servers which is based on analyzing the log file. In addition to that I have to use some algorithms as Rules engines and deep learning. For the…
khalil
  • 11
  • 2