In the below rules I expect Rule2 is fire because I am modifying customer name to mahesh. But when I execute Rule2 is not firing but Rule3 is firing. Am I missing anything here
rule "Rule1"
lock-on-active true
salience 95
when
…
I have a drools decision table with conditions level="l0" and positiontype="Replacement". My excel looks like the below
My Code to set the parameters looks like
Requirement requirement = new Requirement();
…
Need a rule which alerts if a certain number of BootNotifications (here 2) occurs in a certain time frame (here 10s).
I came up with the following rule:
rule "MonitorNumberOfReboots"
dialect "mvel"
when
$s : BootNotification()
Number(…
I am new to Drools. As per my usecase, I want to dynamically create the rules. I have considered using the following rule template:
template header
rule
eventType
package org.ossandme;
global org.ossandme.AlertDecision alertDecision;
…
We are using Drools as rules processing language for serving content to users. I have my service deployed on EC2 instance and I need to test that whether the rules (DRLs) are present in instance memory or not? Is there any way or API in Drools?
I am using Kie workbench 7.4. While importing an external git repository, it is asking only the repository URL. Not the username and password. So while clicking on the next button, authentication is failing.
I am getting "Unable to complete your…
Only users with certain permissions should be able to deploy to kie server others should not.
How to implement an interceptor on the kie server ie the kieserver should throw an error if the user does not have certain permissions
I am using Kie-CI api to scan the latest ruleset in local maven repository. Kie-CI is not working after upgrading to version 7.5.0. Below is the code I am using. Exception says artifact does not exists but actually artifact exists in repository.…
I have deployed a Kie Server 7.5.0 over a Wildfly 10, I can enter the login page of the Kie workbench, but I haven't been able to find out which is the default admin user or how to add my own one. I see Wildfly has an add_user script and an access…
I have a Drools decision table implementation that works on my development machine but not when deployed to my VM in the cloud. Now this suggest a deployment problem, but for the life of me I cannot see where the issue is.
line 321 of…
We are trying to use Drool as our rule engine service. What we done till now is listed below
Deployed workbench 7.2.Final
Deployed KIE server 7.2.0.Final
Configured some data objects, rules, deployed the changes to KIE server and we are able to…
Hello I it is my first time involved in drools project. I have created some simple rules that work fine, however I have trouble with more complex rules that use the accumulate function. Below I have this rule.
rule "1"
no-loop
when
$msg :…
As per the documentation it says the multi threaded rule engine is introduced in Drools 7.0 and is experimental
Is this still experimental in 7.4.1 or is it production worthy in latest release 7.4.1.
What is New and Noteworthy in Drools 7.0
This…
I am new to drools and I am trying to create some rules for a project. I had been able to create a couple of rules but I have found difficulty to fire the below rules so any help would be valuable and much appreciated. I have been trying for more…