983 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
49
views
Drools rule firing depends on the order of constraints
I have the following .drl file, and for the same input data, Rule 1 fires, but rule 2 does not. Even though they have the same constraints, just in a different order.
package com.example.ruleunit
...
2
votes
0
answers
80
views
Sysinternals-Sysmon Configuration File (RuleGroup, Rules) [closed]
AIM:
Log a file creation event if Notepad creates a file in location whose directory path contains either Downloads or Documents
After going through the Sysmon's documentation, what I was able to ...
1
vote
1
answer
32
views
Event on new rule in CodeEffects editor [closed]
Anyone know if there is a way to tell when a user clicks either of the two "new rule" options on the code effect client side editor? An event to plug into, or something to add an additional ...
0
votes
1
answer
71
views
RulesEngine type external not found error
I am using the Microsoft rules engine to validate dynamic input which comes in a form of a JsonDocument. When I send the dynamic object I get an error that the rules engine is unable to find the path.
...
0
votes
0
answers
67
views
Rules execution Order with Sequential in Drools 6.4.0 & 7.0.0
I'm upgrading a project from Drools 6.4.0 to 7.0.0. The project uses a Stateless session.
I load a list of .xls decision table files (with the sequential flag set to true) into the KnowledgeBuilder — ...
1
vote
1
answer
43
views
How to build a lightweight rule-based NLP tagger that mimics GPT-style subtext interpretation?
I'm working on a small NLP tool that tags user input with basic subtext labels using plain Python rules.
Instead of using large LLMs, I'm trying to compress interpretive logic into conditionals.
For ...
1
vote
1
answer
38
views
CodeEffects Upgrade from v4 to v5
I am currently on v4 of CodeEffects and am investigating the upgrade to v5. Is there any documentation of what is needed to make that upgrade?
Thank you!
0
votes
0
answers
50
views
How to pass dynamic relation type to single change originator node?
In the ThingsBoard rule chain, I am trying to set a dynamic Relation Type in the change originator node.
I am sending dynamically generated relationType from a Script node through a metadata key which ...
0
votes
1
answer
87
views
Using Maps/Sets in Drools
I use a global map in Drools to store lookup values to check against.
The map is Java defined as:
Map<String,Set<String>>
and is passed to the engine as global, so that the rule (...
0
votes
0
answers
109
views
ASP.NET Core Rules Engine: If First Rule Fails, Other Rules Are Not Executed
I'm working on a promotion system in ASP.NET Core using the RulesEngine library (RulesEngine.Models). My goal is to apply multiple promotion rules, but I have an issue where if the first rule fails, ...
0
votes
0
answers
56
views
C# RulesEngine: Sequential Discount Calculation Not Applying Correctly in ApplyPromozioni()
I am implementing a discount engine using RulesEngine in a C# ASP.NET Core API. The discounts are stored in a database, and I apply them dynamically using conditions. The discounts should be applied ...
0
votes
0
answers
97
views
Migration from Legacy Fact Model to Rule Unit or KJAR - DROOLS
We are using the fact model to generate the Knowledge Base like below
Events.drl
Package com.example
declare Person
age: int
address : Person.Address
end
declare Person....
0
votes
1
answer
257
views
Drools 9 documentation not available
Although maven repository shows latest drools version as 9 but drools documentation shows 8 as latest version. Any reason behind this mismatch?
https://mvnrepository.com/artifact/org.drools/drools-...
-1
votes
1
answer
187
views
Drools migration path from version 5
We want to upgrade drools libraries as those are very old (version 5). Please suggest a migration path i.e directly can we go to 9 or we need to move to 7 first and then 9. Thanks
-1
votes
1
answer
68
views
Issue with global variable update in Drools
`I am new to drools, need help
Java File:
kieSession.insert(csaResponseRootDTO);
kieSession.fireAllRules();
System.out.println(kieSession.getGlobal("count")); ==> This is printing as null
...