Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
2 answers
260 views

Drools to decide fields to display in UI

I have a scenario where the fields in UI should be displayed based on User roles. For Example- If user is from role "A" then UI will display 5 fields but if the user is from role "B&...
Lolly's user avatar
  • 36.6k
0 votes
1 answer
259 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 ...
Tamil Prabhu's user avatar
1 vote
0 answers
286 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 ...
Naveen Reddy's user avatar
0 votes
0 answers
66 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 ...
Vishal Pardava's user avatar
0 votes
1 answer
355 views

how to execute 2 drool rules in Java with different logic having dependency between them, used ruleflow-group but 2nd rule not getting executed

I am trying to execute different drool rules in java having different business logic but rule 2 needs to be executed after rule 1 gets executed. For this, I have used ruleflow-group. I am able to ...
Sachin Pandey's user avatar
1 vote
1 answer
318 views

Drools KieContainer does not fire rules with custom classloader

I am trying to add a non-existing method to a Java bean, compile it and use the newly added method in Drools rules. Via a custom class loader. I am using CompilerUtils to bind newly modified class to ...
Utku Uslusoy's user avatar
0 votes
1 answer
50 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 = (...
NISHANT KUMAR's user avatar
-2 votes
2 answers
741 views

Can we trigger multiple dmn from java code [closed]

I have a project in business central with 8 dmn models. Is there any way to trigger all the 8 models from java code in a single api call, like we triggering many drl files in single api call?
Dileep Chandran's user avatar
1 vote
4 answers
3k views

Problem with import in latest version of Drools

I'm new to Drools and I'm trying to start using different tutorials. Lately I've started those two: https://koziolekweb.pl/2008/10/30/jboss-rules-drools-silnik-regul-biznesowych/ and https://www....
adelaida's user avatar
0 votes
1 answer
389 views

I want to compare two lists using drools, but the rules are not firing

After inserting two arraylists of type InboundRegionalProduct and ExistingRegionalProduct in to the drools session the rules are not getting fired. Don't know whats the issue is. This is the drl file. ...
Arun Raj's user avatar
0 votes
1 answer
1k views

Create new Map<String, String> in drools file on the fly

Scenario: Awarding the students based on few rules. Here each student is eligible for multiple rewards like student with marks 80 is eligible for both award_65 and award_75. So after evaluating the ...
maneesh's user avatar
  • 226
0 votes
1 answer
1k views

setting values to define type in drools in then part of rule

I have a define type in drools like this package referee.security.category; declare AskedQuestions question : String answer : Boolean end and a Java class for the same type in my java files. It is ...
Jamshaid's user avatar
  • 410
0 votes
1 answer
524 views

how to implement time persistence in drools?

I am new to drools and I was wondering if there was a way to write rules that express persistence in time : if (condition true for X seconds) then doSomething() Rule "Example" when r: ...
bjalexmdd's user avatar
  • 186
0 votes
1 answer
407 views

Drools Absence of hitting a rule over a perios of time

I am new to Drools. I need to build an application with spring-boot & Drools(7.40.0.Final) where springboot application streams an external source that will continuously trigger data packets (...
Unni's user avatar
  • 171
0 votes
3 answers
844 views

Java - Generic Drools rule

I would like to create my rule more Generic format which mean it should be validate the fields and values. Following my POJO structure. public class RulesModel private String field; private List<...
Thilakar Raj's user avatar

15 30 50 per page
1
2 3 4 5
7