Questions tagged [drools]

Drools is a business-rule management system (BRMS) with a forward-chaining-inference-based rules engine, more correctly known as a production rule system, using an enhanced implementation of the Rete algorithm.

https://www.drools.org/

Drools is a Business Rules Management System (BRMS) solution. It provides a core Business Rules Engine (BRE), a web authoring and rules management application (Drools Workbench), full runtime support for Decision Model and Notation (DMN) models at Conformance level 3 and an Eclipse IDE plugin for core development.

4035 questions
1
vote
2 answers

RuntimeException: Unexpected global[] in Drools

I'm facing a problem using Spring with Drools. My main problem is that in the unit tests do not occur the error. Follows below the exception java.lang.RuntimeException: Unexpected global [premioService] This error occurs when I try to set a global…
Ivan Rodrigues
  • 441
  • 4
  • 20
1
vote
0 answers

Is it a good idea to embed Drool rule engine in STORM topology?

I am using STORM for real time processing. I want to embed the drool rule engine in one of the bolt. Is this good design or idea? Because STORM is meant for fast real time processing and gives good performance at the rate of 1 million tuples per…
1
vote
1 answer

What is the difference between the two FactType interfaces?

I'm using Drools 5.3.5 and a declarative Fact Model defined in guvnor. I have both drools-core-5.3.5.Final.jar and knowledge-api-5.3.5.Final.jar on the classpath of the application interacting with the rules engine. Each of these JARs contains an…
FGreg
  • 14,110
  • 10
  • 68
  • 110
1
vote
2 answers

change-set file in drools-workbench6.1.0?

There was a change-set file in guvnor ? where is change-set file is located in new release kie-drools-wb-distribution-ars-6.1.0.Final-tomcat7.0 Example guvnor change-set.xml
Sarde
  • 658
  • 1
  • 8
  • 19
1
vote
1 answer

Drools action object member variables not set

After firing rules, somehow the action object (notificationObj) member variable values are not set. However when I execute it via Junit test class it returns values as expected. But when the war gets deployed it returns null values. Can you please…
Nishant Prabhu
  • 85
  • 1
  • 2
  • 11
1
vote
1 answer

General Drools Questionx

For the last few months my company has been using a product from a company called Informatica (previously AgentLogic) called RulePoint. This product has proven itself very easy to use with a well-developed and easy-to-use SDK for customization. The…
El Guapo
  • 5,581
  • 7
  • 54
  • 82
1
vote
1 answer

Not able to get the score logs for all possible solution using optaplanner in grails app

Not able to get the score related logs in a problem solved by optaplanner getting the score logs in Java Application. Also made changes in Config.groovy for logging but still not able to get the logs. Here is the code snippet for config file. //…
Harish Garg
  • 139
  • 8
1
vote
1 answer

How to know Optaplanner solving has ended?

I have initialized and started a solver, I have registered a listener for the best solution change but I would also like to know when solving has ended. I have configured the logger and it correctly shows when the solver has stopped solving (when…
1
vote
1 answer

Can Drools be used to execute XACML?

It would be great to be able to execute XACML access-control policy in a standard, efficient rules engine, either open-source (Drools) or commercial (Fair Isaac). Does any general-purpose rules engine accept OASIS' eXensible Access-Control Markup…
Kid Rocket
  • 21
  • 3
1
vote
0 answers

ClassNotFoundException when deploying JBPM application to JBoss

I have the following problem with JBoss EAP 6.2 (configured in cluster mode) related to the deployment of my web application. My web app is an war file that contains: processes defined with JBPM2 and REST services for start process, retrieving…
1
vote
1 answer

BRMS 6 ACL - Not Restricting Custom Roles

I want to put access control on the BRMS repository/project access, so that developer-A can only work on repository-A. We have a central BRMS which has one repository per project. We have 20 projects and have 20 repository, one for each project. We…
learner
  • 906
  • 2
  • 10
  • 39
1
vote
1 answer

Drools setting the rules sequence order

I want to set the flow in which rules should be executed. I know that using rule-flow group we can set the sequence using eclipse-gui. But I want the solution without it and want to define it in drl file only.
user2981996
  • 41
  • 2
  • 5
1
vote
4 answers

AngularJS + Rule Engine

Is there any way to integrate Rule Engine (or Rule Engine concept to apply Business Rules) with AngularJS application? I have heard about Drools. Is there any API provided by Drools which can be used in Angular Project? My requirement is any input…
Dharmesh Shah
  • 11
  • 1
  • 2
1
vote
1 answer

Drools rule for processes belonging to services (inverse optaplanner tutorial assignment)

I would like to implement a simple (?) rule in drools connected with the cloudbalancing example in optaplanner: Instead of having processes of a particular service on different computers ("2.1.8: Beyond this tutorial"), there should be a cost…
Philip Harding
  • 392
  • 1
  • 10
1
vote
0 answers

Not able to load the facts in DRL file from working memory of drools

I have a Planning Solution class containing a method getProblemFacts() to load facts in working memory. but i am not able to get the facts in DRL file. Some code snippet is as follows : @Override public Collection
Harish Garg
  • 139
  • 8
1 2 3
99
100