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

Newbee Drools chained list filtering

I'm pretty new to Drools but wanted to use it for a case I need to solve. Basically my rules need to do the following: Filter a given initial read-only (complete) list of locations based on a given distance to a persons current position Create a…
-1
votes
1 answer

Include more than one rule under single RuleTable in decision table

I'm trying to include more number of rules under single RuleTable in decision table (excel), which means including two or more rows with conditions and actions under single RuleTable as shown in the figure. If I include, I'm getting only single…
CentosUser
  • 201
  • 1
  • 4
  • 14
-1
votes
1 answer

Drools Timer based rule fires multiple times after restart

I have a scenario where I want to use rules purely as a scheduled job for invoking other services. I am using a solution similar to Answer 2 on this. So I have rule 1 which looks like: rule "ServiceCheck" timer ( int: 3m 5m ) no-loop…
Manny
  • 3
  • 3
-1
votes
1 answer

Is there a CMS similar to Drupal with a rule engine editor and workflow task manager included?

I'm looking to develop a website that collects information that a user provides about their company, analyzes it based on industry trends I've saved into the system, and does something based on the information received (i.e. make recommendations,…
-1
votes
1 answer

calculation in jboss drools

I recently encountered below scenario in drools. I want to know how to proceed with the rule design for this. Class Emp{ beingDate:Date endDate:Date } Rule to determine annual income for the employee based on the given dates: For dates before…
Srik
  • 2,341
  • 2
  • 21
  • 35
-1
votes
1 answer

Why BRMS written in C++ is less useful than BRMS in Java?

I have studied rule engine for a week, and the problem puzzled me for a long time. The view will be confirmed as below: Most of rule engines are written in Java, not C or C++ Most of companies prefer to select rule engines written in Java, not C…
虫子樱桃
  • 102
  • 6
-1
votes
1 answer

Rule Engine for sport hall management

I want to build a web application which contains a generator for a sports hall schedule. Our sport club has a sports hall. It could be devided into 3 parts. Every branch of our club has its own days and times. For scheduling it is very important to…
Vivid
  • 399
  • 1
  • 8
  • 19
-2
votes
1 answer

rule based algorithm for text classification

I'm trying to build a rule based text classification system to speed up the manual categorization of documents. The long term aim is to use these manually classified documents as training data for an AI. The classification system has over 100…
Brett Sutton
  • 3,900
  • 2
  • 28
  • 53
-2
votes
2 answers

How to reuse a rule as an action of another rule?

Eg: Rule1: Check if Person's Country is 'United States' Rule2: Check if Person's State is 'Washington, D.C.' Now Rule3 is combination of Rule1 and Rule2 Rule3: if Rule1 then Rule2 here Rule2 is an action that will be executed if Rule1…
Allu Balu
  • 9
  • 1
-2
votes
1 answer

Get list of facts from rule

Suppose I have 1000 rules in drool and 20 customers. I want to fire those rules which are specific to a customer. It is possible that one rule is applicable for more than on customer. I know which customer is using the application so based on that I…
pratik2392
  • 53
  • 2
  • 9
-2
votes
2 answers

Complex if/else logic in java with multiple variables

There can be two types of groups- private and public. Each group can have members in it. I have three parameters id, includePrivate, includePublic to be passed into a method to return the groups as per the rules below. For eg. public List
-2
votes
1 answer

Comparing Rete and sequential algorithmes

Which (Rete or sequential) algorithm is more efficient when rules data is known upfront and not changing?
-2
votes
1 answer

Dynamic configuring rules in a rule engine

I'm designing a simple rule engine. Let me start by giving an overview. The engine is initialized with a configuration file which specific the rules to be run and also parameters that are intended to be used by these rules. Example: I have a…
KodeWarrior
  • 3,538
  • 3
  • 26
  • 40
-3
votes
1 answer

Have anyone tried using rule engine for dart?

I'm still new in developing mobile apps so I'm struggling to understand how to use it since there's no examples of people using it. I want to use a rule engine for mobile application
-4
votes
2 answers

How to check the if statement value in drools using dialect "Mvel"?

I have a json below "root":[ { "refDataId": 1, "children": [ { "refDataId": 20 }, { "refDataId": 99, "otherValue": "Facility" } ] }, { "refDataId": 2, "children": [ { …
1 2 3
64
65