Questions tagged [kie]

KIE is the shared core for Drools and jBPM. It provides a unified methodology and programming model for building, deploying and utilizing resources.

KIE (Knowledge Is Everything) is a new umbrella name for for Drools, jBPM, OptaPlanner and UberFire. It provides a unified methodology and programming model for building, deploying and utilizing resources.

536 questions
3
votes
0 answers

Load rules/models from JSON instead of DRL - Drools

Right now I have a spring-boot application that feeds rules and models from .drl files to the Drools KieBase. The facts are built and loaded dynamically, though. I would like to also load the rules/models dynamically instead of reading them from…
3
votes
0 answers

how to update rules dynamically in drools rule engine

i am working on drools rule engine got this scenario to change the values in when block from 1000 to 2000 ,changing the signs from > to <, can we achieve this using a form to edit the value rule "payment" when account:Paymentinfo(transaction…
rockonetwo
  • 31
  • 1
  • 2
3
votes
2 answers

Where exactly does KIE Workbench create a project?

Before anyone starts downvoting this question, I tried Googling this with all combinations of the words "kie", "project", "where", "location", "workbench", "pom", "source", "files" and I did not get one single answer. I am running kie-wb.war on…
EdmDroid
  • 1,350
  • 1
  • 11
  • 25
3
votes
2 answers

Cannot find a default KieSession

I am trying to create jar using KieModule. Please have a look at the code. public static ReleaseId createKJarWithMultipleResources(String id, String[] resourceFiles) throws IOException { KieServices ks = KieServices.Factory.get(); …
Jayram Kumar
  • 682
  • 2
  • 16
  • 28
3
votes
6 answers

Exception Child services have no parent when starting Optaplanner application

I have a test program that uses optaplanner. There is no direct use of KIE API's but it looks like they are being invoked behind the scenes. This may be related to the fact that I am using DROOLS for the score calculation. The program works from the…
WillShackleford
  • 6,918
  • 2
  • 17
  • 33
3
votes
1 answer

How to Build kmodule.xml on runtime to update the changes done in the drl file

I am new to drools. I am facing a problem with drools engine. I have a user who can create rules from the web interface and I using some code will create the drl file out of those rules. Till here everything is working as expected. Now the user will…
Arpit Agrawal
  • 1,180
  • 1
  • 10
  • 21
3
votes
2 answers

How to register a Drools 6 custom operator programmatically in KieServices with Java

I have a few chains of objects like the following that I'd like to process using Drools 6.4.0: @Value public final class Node { private final String code; private final Node prev; } An example rule to use, for instance, is the…
Stefano Bragaglia
  • 622
  • 1
  • 8
  • 25
3
votes
2 answers

Drools- Rule Compilation error name cannot be resolved to a variable Syntax error, insert ";" to complete Statement

I'm trying to build a simple rule on KIE Workbench/Drools in a new DRL file and I keep getting the following error on build & deploy Rule Compilation error name cannot be resolved to a variable Syntax error, insert ";" to complete Statement here's…
tls11
  • 73
  • 1
  • 1
  • 7
3
votes
2 answers

newKieSession() returns null when project is exported to JAR

Very confusing problem here. I see behavior which differs between running the project in Eclipse and running the project as an exported JAR. When the project runs in Eclipse, it runs fine. When it runs as a JAR, it crashes. The crash results from…
melchoir55
  • 6,842
  • 7
  • 60
  • 106
3
votes
2 answers

Why cached Drools KIE bases still require source .drl files?

Could anyone explain, why Drools engine still requires source .drl files even if cached pre-compiled KIE bases already created and deployed with kie-maven-plugin? Is it possible to use only pre-compiled cache files? We are using Drools 6.2.0.Final…
Serge
  • 111
  • 2
  • 9
3
votes
1 answer

Avoid parsing project pom.xml when running Drools

this is a follow up question to a question I asked earlier. I am using Drools 6.1.0.Beta1 in a project with the following (shortened) pom.xml:
Dominik Sandjaja
  • 6,326
  • 6
  • 52
  • 77
3
votes
1 answer

Drools 6: add rules to a running KieSession

till now I couldn't figure out the best way (meaning with minimal overhead) to add rules to a running KieSession in Drools 6.0.0 AND still keeping my facts in KieSession. In Drools 5 the KSession was updated when KBase was changed, but the same…
MattRossmann
  • 85
  • 2
  • 7
2
votes
0 answers

Unable to start Evaluation process on jbpm

I just started jbpm tutorial here https://www.jbpm.org/learn/gettingStartedUsingSingleZipDistribution.html Was able to start the server (after some suffering due to Reflection / access restrictions after java 9) .. then I went with the first step to…
osama yaccoub
  • 1,884
  • 2
  • 17
  • 47
2
votes
2 answers

drools workbench with jbpm-server-7.73.0.Final-dist file from jbpmn.org site

After downloading jbpm-server-7.73.0.Final-dist.zip and running standalone.bat file facing issue in startup of server as deployment is not completed I want to fix this issue to get server up an running properly so that Drools workbench…
2
votes
2 answers

list contains for structure data type in DMN decision table

I am planning to use Drools for executing the DMN models. However I am having trouble to write a condition in DMN Decision table where the input is an array of objects with structure data type and condition is to check if the array contains an…
1 2
3
35 36