Hi Team,
please follow below code.
KieServices ks = KieServices.Factory.get();
KieContainer kContainer = ks.getKieClasspathContainer();
KieSession ksession =
kContainer.newKieSession(ksession-rules);
Before I say something, I should know:
* If an EvemetierCalculDHF accompanies an EvemetierData object: is
this a 1:1 relationship or are there several EvemetierData objects
tied to a single EvemetierCalculDHF?
* Is EvemetierCalculDHF.evemetier a Collection? (Probably yes if the
answer to the
Hi,
This occurs mainly when if you not executing retract() ot dispose() on
particular object.
If you have employee as an object , and you are doing a transition using
employee object its better to use retract (employee ), which will remove or
clear an object.
regards
Ganesh Neelekani
--
Hi,
Use lock-on-active true in when condition,
This will resolve this issue
Thanks
Ganesh Neelekani
--
View this message in context:
http://drools.46999.n3.nabble.com/Adding-eval-on-rule-cause-it-to-run-in-infinite-loop-tp4029966p4030007.html
Sent from the Drools: User forum mailing list
Hi,
I found Vehicle routing demo to show score flexibility in OptaPlanner from
youtube http://www.youtube.com/watch?v=4hp_Qg1hFgE
I did not find this example and source codes from Web, can i download source
somewhere? Thanks in advance!
--
View this message in context:
Thanks for your time and answers, and sorry for the incomplete information.
There is a 1:1 relationship
between EvemetierCalculDHF and EvemetierData objects. The reason for
the EvemetierCalculDHF is that we want the EvemetierData structure to be
independent from the rules, and therefore needed a
Hi Ganesh,
I'm not sure I understand your answer. My problem is on the network of
Tuples that the engine creates on objects in memory. Of course, if I could
retract the EvemetierData and have only a limited set the WM memory would
be smaller and my problem not one any more, but currently this is
On 11-06-14 09:30, Neb wrote:
Thanks Geoffrey
I have managed to get it working by manually changing some values in the
latitude and longitude elements in the xml file.
What I am struggling with is generating an xml file with my own data in each
element.
do you have any tips on how to
See
http://docs.jboss.org/drools/release/latest/optaplanner-docs/html_single/index.html#buildFromSource
and
https://github.com/droolsjbpm/optaplanner/tree/master/optaplanner-examples/src/main/java/org/optaplanner/examples/vehiclerouting
On 12-06-14 10:09, Tuomas Kallio wrote:
Hi,
I found
Hi Team,
I am feeling some strange issue, I can run my rules if I use void main(), if
I run with same class with @webservice then it says Unknown KieSession
name: ksession-rules
Please find screen shot of programming structure, Do I need to modify if I
use webservice
--
View this message in
Hi Team,
I am feeling some strange issue, I can run my rules if I use void main(), if
I run with same class with @webservice then it says Unknown KieSession
name: ksession-rules
Please find screen shot of programming structure, Do I need to modify if I
use webservice.
Davide is correct, for our analysis to work, the constraint must not be inside
an eval, and any constraint that does not start with a field name is internally
rewritten as an eval.
Mark
On 11 Jun 2014, at 18:48, Davide Sottara dso...@gmail.com wrote:
I think I know what is happening here.
I
Ok, I still don't understand why my new rule is not taken in account...
So, I came back to my previous code and I realize that I have the expected
results anyway.
What I'm doing is:
1- FireAllRules (mandatory call to not have the NullPointerException)
2- Add a new rule
3- FireAllRules again
As
On 12/06/2014, bvoisin benoit.voi...@igc-erp.com wrote:
I did not quite understand your last paragraph on a representative. Do
you have an example I could study ?
Given a set of facts that match some constraints, and you want to
accumulate them in some way, this approach appears to achieve it:
ClasspathKieProject.discoverKieModules.
https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/ClasspathKieProject.java
Mark
On 12 Jun 2014, at 08:24, ganeshneelekani ganeshneelek...@gmail.com wrote:
Hi Team,
please follow below
If I am looking at the checkin from drools-wb
dacd7fb8: BZ1047761 - No way to rename a guided rule using the UI
How do I find the description of the defect in the JIRA database?
I did a search on the JIRA page
Thanks I understand now. It is quite clear.
In my case however, the accumulated Foo's will be different for each source
Foo. The two classes could have been different. A more precise sample
conditions would be :
$a: A(someConditions)
accumulate ($b:B(someField==$a.somefield); )
My
Hello,
I developed a system where dynamic salience for some particular rules
doesn't rules. However, it is very hard for me to create a simple test case
unless I publish the entire rule files. In the system, some rules using
dynamic salience work and some don't, but I don't know why.
I debugged
That’s correct. I’ll raise a JIRA. thanks
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Michael Anstis
Sent: Wednesday, June 11, 2014 4:36 PM
To: Rules Users List
Subject: Re: [rules-users] Can't clone repository NoSuchElementException
If I
19 matches
Mail list logo