All Questions
Tagged with rules rule-engine
139
questions
1
vote
1
answer
102
views
Rules engine has slow down or takes longer to compile while firing rules [Drools]
I've a separate Java spring boot service as a rules engine. Which has controller and service to set focus on agenda groups as user or other service preferred. In my case i have 500 plus rules and 30 ...
0
votes
1
answer
20
views
IBM ODM create a rule
I need to create a rule. I have this precondition:
Student is adult (older than 18)
Student's first treatment date is present and is in the past
if
the dateOfBirth of Input is before <...
0
votes
0
answers
9
views
Is it possible to access declared types from java when using the ruleunit api?
in the legacy java drool "API" it was possible to gain access to the types declared within the rule files via the KieBase.getFactType(...) method. Is such thing possible with the new ...
0
votes
0
answers
69
views
Rules executing multiple times- unable to disable the rule
Currently i started using the latest drools engine (9.44.0.Final ) in our project . Previouly i used 7.x version. In my previous version i used the custom java method to enable and disable the rule....
0
votes
0
answers
152
views
Execution default-build of goal org.kie:kie-maven-plugin:8.44.0.Final:build failed
I'm trying to build my drool project ( 8.44.0.Final and jdk-11.0.18.10-hotspot) its getting failed .When i try to in eclipse its working fine . But When build its throwing error. I have enabled the ...
0
votes
1
answer
129
views
How to serialize kiebase in drools-engine 8.43.0.Final
Since the SessionsAwareKnowledgeBase implements KieBase which can't be serializable.
Usecase: Need to serialize the kiebase and store into the cache (redis). At runtime i have to deserialize the ...
0
votes
1
answer
124
views
How do we update facts in clara rules? (clojure)
(ns clara.rules.test
(:require [clara.rules :refer :all]))
(defrecord Users [#^ints user-ids])
(defrecord UserData [user-id dob age]
(defrule rule-1
[?ud <- UserData (> age 20)]
[?u <- ...
0
votes
0
answers
134
views
How to identify false rule conditions in a Python rule engine?
I'm working on a Python rule engine that evaluates a set of rules against a given data set. The engine works fine when all the rule conditions are true, but I need to know when a rule condition is ...
0
votes
1
answer
35
views
How to implement periodic data receiving and executing self-defined tasks?
I'm developing an android app which is connected to a BLE device (to receive temperature values) and the OpenWeatherMap API for receiving weather data.
Now i want to request every 30 minutes the ...
0
votes
1
answer
736
views
Drools Rule Engine - Multiple .drl file for different set of rules for different context
I am using spring boot drools. I would like to maintain say 3 different drl files for different context as the rules are different for different context. In this case should I create 3 key ...
1
vote
0
answers
218
views
Unable to serialize kiebase in drools-engine 8.29.0.Final
Since the SessionsAwareKnowledgeBase implements KieBase which can't be serializable.
Struggling from the past one week.
Usecase: Need to serialize the kiebase and store into the database.
At runtime i ...
1
vote
1
answer
918
views
Python Rule Engine
I have a set of rules that I need to apply on a couple of python objects and I am wondering how could I do this. The main goal would be to run my object through the set of rules and obtain which rule ...
0
votes
0
answers
57
views
Drools Business Rules : Unable to determine what is this NULL in exception detail and What these number with colon
I am using Drools BPMN rule engine for business rules validation and getting below errors intermittently in my application.
Exception while executing rules. [determine_flow_name:1 - Determine Flow ...
0
votes
1
answer
44
views
Assign either of value that exists or not null RuleInput($date = (this["startDate"] || this["startingDate"]))
Inside RuleInput there may be either "startDate" or "startingDate" , I need to assign value to $date variable either of the value that exists.
Something Like,
RuleInput($date = (...
0
votes
0
answers
80
views
The Workbench Drools project does not work after closing or recompiling
I deploy the Drools workbench through a Docker container. And after deploying it and entering the interface through the browser, I configure the rules and processes.
When generating a rule using the &...