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-engine
988
questions
0
votes
1
answer
18
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
...
-1
votes
2
answers
29
views
How to achieve a loop in drools rule engine?
I have written a dynamic rules for a straightforward conditions like.
an example object;
public class Student {
private String name;
private String surName;
private Integer age;
private Address ...
0
votes
0
answers
15
views
SAP Hybris Promotion module: Value is not an instance of string
I am trying to create a custom promotion condition in sap hybris and I am getting an exception "Value is not instance of String" from the class DefaultRuleParameterValueMapperStrategy, I ...
-1
votes
1
answer
32
views
Problem with Java RuleBook engine implementation
I'm trying to make a simple implementation of RuleBook engine with the follwing class:
package some package;
import com.deliveredtechnologies.rulebook.FactMap;
import com.deliveredtechnologies....
0
votes
0
answers
16
views
How to Test Performance, Scalability, CPU, and Memory Consumption of Rule Engines (Drools, NRules, Easy Rules)? [closed]
I am trying to test the performance, scalability, CPU, and memory consumption of my rule engine. I am using Drools, NRules, and Easy Rules but I'm new to this and don't know where to start.
I haven't ...
-1
votes
0
answers
41
views
+100
microsoft rules engine evaluating multiple options
I am using Microsoft Rules engine (https://microsoft.github.io/RulesEngine/).
I want to know how to implement multiple option based output for each rule to implement a questionnaire based points ...
-2
votes
0
answers
25
views
Using rules engine optimally
I have been designing a rules-engine with Drools, and came up with few of the queries where I am kind of stuck:
I have a use-case where based on the different input params (in a subject entity), we ...
0
votes
1
answer
16
views
What happens when a CodeEffect rule's .Net source object member(s) change?
Just wondering how this scenario is handled by the rules engine and UI. So if a rule I've created references a property or method 'A', and that property or method changes to 'B' (or perhaps method ...
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
0
answers
41
views
Drools named consequence rule giving different outputs for the same input
My web application has an endpoint /automatic which takes a POST request, converts the request body into entity and fire the given rule against that entity.
@Data
@NoArgsConstructor
@...
0
votes
1
answer
31
views
Is Drools 8.x JSR94 compliant?
Drools 8.x distribution doesn't contain jar with name jsr94. With Drools 7.x distribution, drools-jsr94.jar is provided. The 7.x documentation mentions that the jar drools-jsr94.jar is the JSR-94 ...
0
votes
0
answers
15
views
Unable to use External-MQTT Node of Edge's rule engine to send MQTT data as a thing to AWS IoT
Component
Rule Engine
Description
I want to use 'External - mqtt' Node in rules engine of Thingsboard Edge to send data as an AWS Thing to IoT Core/Greengrass.
I have uploaded certificates (Server ...
0
votes
1
answer
22
views
XmlSchema Compatibility
I'm using v4.1.8.8
I have a number of individual rules xml documents that I want to combine into a rule set.
After combining them I need to do some modification so it would be a lot easier of all of ...
0
votes
0
answers
32
views
Calling .ToString() on editor not returning enum name
I'm trying to call .ToString() on the editor to get the friendly text for a rule. Either I'm not configured correctly or perhaps there's a bug, hence why I'm reaching out.
When calling .ToString(), ...
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 <...