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
4
votes
3 answers

Drools : Tool for generating .drl files or XML based rule content

We are using Drools Rule Engine for our Java web Application . Writing of DRL files seems error Prone. I just wanted to know if there is any tool that automatically generates .drl files or either xml based rules? Thanks in advance .
Pawan
  • 31,545
  • 102
  • 256
  • 434
4
votes
0 answers

Integrate drools with Rails?

Have any of you ever integrated the JBoss rules engine into a rails app using JRuby?
tesserakt
  • 3,231
  • 4
  • 27
  • 40
3
votes
0 answers

Logical expression configuration tool UI

Recently i have a requirment from bussines for build a tool that configure our application data input like these: if ( "field x1" equal "value 1" and "field x2" equal "value 2" ) or ("field x3" equal "value 3" ) ... then set value of "field y" to…
Harold Sota
  • 7,490
  • 12
  • 58
  • 84
3
votes
1 answer

Options for Filtering Data in real time - Will a rule engine based approach work?

I'm looking for options/alternative to achieve the following. I want to connect to several data sources (e.g., Google Places, Flickr, Twitter ...) using their APIs. Once I get some data back I want to apply my "user-defined dynamic filters"…
Soumya Simanta
  • 11,523
  • 24
  • 106
  • 161
3
votes
1 answer

Rules Engine and automated testing conundrum

Rules Engines are often sold under the premise of making it possible for business people to modify some very dynamic parts of the application directly, without any involvement or programming done by the developers. In my opinion, putting into…
Danijel Arsenovski
  • 519
  • 10
  • 15
3
votes
2 answers

PHP-Rules Tutorial needed

Can any one provide a good link for a PHP-Rules tutorial? I can currently find only one: Getting started with PHP Rules (by Greg Swindle; 07 Jan 2011) But this link doesn't really mention how to use it in our application. And also, the example…
Zer0
  • 2,171
  • 3
  • 17
  • 18
3
votes
1 answer

Implementing a rules system

I'm building an app for android which allows objects to be merged together based on certain conditions. At the moment I'm looking to do this using if statements (nested or not) and am just wondering if there is a better way to do this so it is more…
Nalum
  • 4,143
  • 5
  • 38
  • 55
3
votes
1 answer

Problem with pattern matching in Drools 7.57.0.Final

I'm trying to run this GitHub project using Drools 7.57.0.Final instead of 7.39.0.Final which was used in original project. And I found some issues. The issue that most triggers me is the one in the Section 6, Step 5. The problem lies in the Drools…
trimtosize
  • 213
  • 2
  • 10
3
votes
1 answer

If condition in THEN clause drools

I tried researching a lot online but unable to find the exact reason for my error Here is my problem I am trying to write an if-else condition in RHS (THEN) but my drools show the following error [An error occurred when attempting to build drools…
jagapathi
  • 1,635
  • 1
  • 19
  • 32
3
votes
0 answers

Custom UI to add/edit/delete drools file

I want to load drool file in to my custom UI, and modify or delete few rules and upload back. is there any opensource or some features available in drool itself to do this? I went through few dozen links like 1 2 3 4 Is the only way to store rules…
indra
  • 832
  • 4
  • 17
  • 33
3
votes
1 answer

Codeeffect rule editor allows to select only one action even though there are multiple actions to select from

I have requirements to use codeeffect rule editor for our feature. We have dynamic actions to render in the rule editor which user can select from. So for that i have created the rule editor using FlexSource type. I tried to configure actions in…
3
votes
1 answer

Azure CDN: wildcard in rules engine

I have a Azure CDN from Microsoft setup in front of a web api. I am testing the rules engine, but i can't use the * even though it is mentioned in the docs:…
mslot
  • 4,959
  • 9
  • 44
  • 76
3
votes
5 answers

Distributed Rules Engine

We have been using Drools engine for a few years now, but our data has grown, and we need to find a new distributed solution that can handle a large amount of data. We have complex rules that look over a few days of data and that why Drools was a…
RonL
  • 103
  • 1
  • 7
3
votes
1 answer

Programatically create a WWF RuleCondition from a string

I'm using the RuleSetDialog to create rules for a validation module and storing the resulting xml in the database. Is there any way to programatically create rules their conditions based on a code string? This post gave me some insight: Creating…
Bruno
  • 445
  • 4
  • 10
3
votes
2 answers

How to define & enforce complex rules constraining hierarchical entities

If I have a Policy and this Policy should consist of Sections(fixed number). My Sections are 4 predefined sections: Work time regulations. Excuses. Shifts. Time-sheets. Each Section has fixed attributes differ from the attributes in other sections…