125 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
0
replies
50
views
Is there any working difference when setFocus() method for agenda group is defined in the java code or in then field(RHS section) of the DRL rule file
I have my DRL rule file which contains more than one agenda group and they needs to be executed in certain order.
Will their be any difference if the setFocus() is called upon those agenda group in ...
0
votes
0
answers
36
views
How can I retrieve logs from Drools to understand how it selects a rule?
I am working with Drools and have around 500 rules. I need logs that explain why a specific rule was selected.
So far, I have tried the following approaches:
KieServices Logger
I used KieServices to ...
0
votes
1
answer
408
views
UnsupportedOperationException in drools from dummyconstraintBuilder class
I'm new to drools and I have added the following dependencies in my gradle file.
implementation("org.drools:drools-compiler:9.44.0.Final")
implementation("org.drools:drools-core:9.44.0....
0
votes
1
answer
65
views
Remaining inputs ignored after first input matched with Rule is completed
I am using Drools Rule Engine for my usecase where i have to determine owner of a product based on multiple attributes. I have created a set of rules.
I have around 1000 input products and about 50 ...
0
votes
0
answers
211
views
Drools - How to validate dynamically generated Drools rules from an ftl template file; before firing them?
want to validate the rules and send them to other part of monolith application so, that it is ready to fire all rules as i'm generating dynamic drools rules using a template(ftl) file. So, is there ...
1
vote
0
answers
898
views
How to design an template in Drools in order to pass list and map as an argument to generate the rules dynamically?
I have a list and an map in json format and before passing the those to template in order to generate the rules I convert them into the java and then compile them using the ObjectDataCompiler in order ...
1
vote
0
answers
73
views
How to pass and read the vlaues from map in Drools DRT template?
I am trying to pass a map in DRT template of the of the drools like this
TEMPLATE
template "another map"
rule "test map_2"
no-loop true
dialect "java"
when
...
1
vote
1
answer
435
views
Unable to update the fact even when rule is fired
I have implemented builder design pattern and I have conditions on the abstract class and want to update the fact that extends the abstract class. Although the rule is fired but it doesn't update the ...
0
votes
2
answers
1k
views
Drools check if one list contains all elements of another list
How to check whether list of facts contains the list of parameters or attributes present. We want a Rule where The Fact is List of Variables and the attributes which we are passing it is also list of ...
0
votes
0
answers
333
views
Drools/ Kogito Dynamic runtime flow/ process
I'm new to drools (I can consider Kogito as well) we have a requirements where the rules with orders are stored in a decision table and it should be executed based on the order given by the users the ...
1
vote
1
answer
238
views
While reading Drools Drt with some given Parameter, The condition part in rule gets disappear for the Empty String or null values
While running Drools DRT with some empty values gives an error.
This is the template which we have used....
rule "Rule1_@{row.rowNumber}"
salience @{salience}
dialect "java"
when
...
1
vote
2
answers
168
views
While reading Drools Drt with some given Parameters, The condition part in rule gets disappear for the Empty Values as well as for Empty String
While running Drools DRT with some empty values gives an error .
This is the rule which we have used....
rule "Rule1_@{row.rowNumber}"
when
variable:Fact(("All"=="@{...
0
votes
0
answers
177
views
Getting problem while comparing string in Drools XLS decision table
In cell B11 I am trying to compare my data with below column by using 1,ドル but it is not working, the issue occurs only for String data I think.
Can anyone give me right explanation/reason that why ...
0
votes
0
answers
103
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 &...
0
votes
0
answers
623
views
Drools - Send input data to business process (JBPM) via REST
Good day! I'm trying to start the next Drools Business Process via REST
This process has the following process variable (named contractObject), which is populated at the beginning of the flow and ...