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
0 answers

rufus scheduler exception

This is driving me a bit nuts, I have rufus doing some scheduling to call a rules engine (ruleby). So most work I have running is inside the running engine and then inside the scheduler. As a result when I have a error the information is a bit…
evilspyboy
  • 36
  • 5
0
votes
3 answers

Python:Pattern detection and rule generation

I have a need for a pattern interpretation and rule generating system. Basically how it will work is that it should parse through text and interpret patterns from it, and based on those interprtation, i need to output a set of rules. Here is an…
auny
  • 1,920
  • 4
  • 20
  • 37
0
votes
1 answer

How to embed DSL keyword highlighting and code completion into application

I am creating custom DSL with groovy for purpose of creating rules (for rule engine). My target audience will be non-programmers. Something like this: when user visit page "test" within 5.days then assign campaign 200 I would like to provide my…
eugened
  • 311
  • 5
  • 12
0
votes
1 answer

Drools 5.4.0- Error with a DSL consequence containinig three captures with combination of integers and strings

I'm trying to write a DSL for handling messages. I have several constructs working with the below one causing errors - from the DSL - [consequence][]on validation failure of field {bit} set field {bit2} to…
rkbalgi
  • 1
  • 3
0
votes
1 answer

drools 5.0:Is there anyone who saw this error?

when i modified the default constructor function of class, then i created a new object in drl file.The error occured,like this: the source attachment does not contain the source for file AbstractWorkingMemorry.class the code is: public static class…
虫子樱桃
  • 102
  • 6
0
votes
1 answer

Drools for Morphological Analysis

Is Drools suitable for writing rules for Stemming and/or POS tagging ? Suggestions for a better rule-language are welcome. I read many papers in this field that use the rule-based approach but none of them mentioned what library or framework was…
omarzd
  • 66
  • 6
0
votes
1 answer

Are there any implementations of a parallel version of the Rete algorithm?

I have done some research on the Rete algorithm and found several papers on making it parallel (both matching and rule firing) the earliest of which are from the mid '80s. However I can't find any information about any parallel implementation in any…
0
votes
2 answers

when should I use BOM to XOM mapping ExtenderName in ILOG Jrules

In the rule studio BOM editor , there is BOM to XOM mapping window and it asks for execution name and extender name. I can write java code in a separate project and import it as BOM. So what is the purpose of this extender mechanism ? As always IBM…
Tito
  • 8,894
  • 12
  • 52
  • 86
0
votes
1 answer

How to validate multiField in MVC 3?

how to validate MultiFieldRequired as one property to output one error message , and integrated with jquery client validation in mvc3 ? i tried with MultiFieldRequired here , but there is no client validation message . can fluentvalidation.net…
0
votes
2 answers

How to pass a collection from a rule to a java method

I have a collection of Type Cars which I need to pass from the ILOG Jrules to my Java evaluation method. My Java evaluation method can accept an Object, so a collection can be accepted. I need to process the collection of cars in my Java XOM and…
Tito
  • 8,894
  • 12
  • 52
  • 86
0
votes
2 answers

using static declaring in ilog jrules java xom model

In my java pojo XOM model , I have a static variable say count.I am executing 5 rules and it is increasing the count variable by one. So in the end of the execution I have value as count = 5 . Now if I declare a non static variable count and…
Tito
  • 8,894
  • 12
  • 52
  • 86
-1
votes
1 answer

Efficient algorithm for association Obj1 to Obj2 based on a rule set

I have a table containing millions of transaction records(Obj1) which looks like this TransactionNum Country ZipCode State TransactionAmount 1 USA 94002 CA 1000 2 USA 00023 FL …
Rohan
  • 192
  • 1
  • 2
  • 12
-1
votes
1 answer

Software design aspect - Rule driven vs configuration driven design

I want ask this question more on design perspective rather than any implementation. Lets, start with an example of a routing engine (or anything else) that can be configured using some rule engine or some configuration based way where intention…
-1
votes
4 answers

How to calculcate a medical formula in C# avoiding switch statements - Rule Engine alternatives

I am using C# in a .NET 6.0 web application and I want to calculate a score based on medical formula with 15 variables. Is there a more structured way in order to avoid multiple and enfolded switch & if then statements? I tried using Microsoft's…
nitse
  • 21
  • 7
-1
votes
1 answer

Thingsboard REST api call - variable response

Following this tutorial - weather using rest api calls - I’m trying to extend the example to gather the 1 hour accumulated rain data. The Openweather api docs state: If you do not see some of the parameters in your API response it means that these…
tomtomnz
  • 187
  • 14