[rules-users] Drools and jBPM Public Training London 2013

2013-09-20 Thread plugtreelabs
We're making a workshop that introduces Business Process Management and prepares you to be immediately effective in using both Drools and jBPM to improve your applications. You will learn how to utilize the different stages of BPM where development is involved, for both versions 5 and 6 of the Droo

Re: [rules-users] Declared Types and Globals in different files with incremental KnowledgeAgent

2013-09-20 Thread Davide Sottara
Brecht, thanks for reporting this, but I don't think these are bugs. 1) In order to set the value of a global from a rule's RHS, you have to do somehting like this drools.getKnowledgeRuntime().setGlobal( "RULES_MATCHED", newValue ); The reason is that the rule's RHS sees a reference to the origi

Re: [rules-users] No errors thrown from KnowledgeAgent

2013-09-20 Thread Michael Anstis
Here's a blog entry Mark made on this very subject: blog.athico.com/2011/04/drools-jbpm-community-versus-product.html?m=1 Sent on the move On 20 Sep 2013 21:02, "Davide Sottara" wrote: > Let the team correct me if I'm mistaken or imprecise. > There is no "commercial" version, the only thing you

Re: [rules-users] No errors thrown from KnowledgeAgent

2013-09-20 Thread Davide Sottara
Let the team correct me if I'm mistaken or imprecise. There is no "commercial" version, the only thing you can get is a "productized" version which has been through Q/A for a longer period, usually 6 months. The strategy is to get features out in the community version, get feedback from there and

Re: [rules-users] Insert, fire, then retract from consequence

2013-09-20 Thread Wolfgang Laun
On 20/09/2013, Jonathan Knehr wrote: > I am wondering if I can insert a fact, fire all activated rules, then > retract the fact all in a rules consequence. Certainly. But the fireAllRules() would have to address a session different from the one that's executing the consequence. > > I have simila

[rules-users] Insert, fire, then retract from consequence

2013-09-20 Thread Jonathan Knehr
I am wondering if I can insert a fact, fire all activated rules, then retract the fact all in a rules consequence. I have similar behavior using the API that I'd like to be able to do inside a rule, as well. The idea is that once all the rules that cause activations get fired, it gets retracte

Re: [rules-users] Optaplanner rules error

2013-09-20 Thread Geoffrey De Smet
On 20-09-13 16:19, ns wrote: > I'm unable to figure it out. At the top of the drl file I have: > > package be.comp.permanenties.solver; //permanentiesScoreRules.drl > dialect "java" > import org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScoreHolder; > > import be.comp.permanenties.d

Re: [rules-users] Optaplanner rules error

2013-09-20 Thread ns
I'm unable to figure it out. At the top of the drl file I have: package be.comp.permanenties.solver; //permanentiesScoreRules.drl dialect "java" import org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScoreHolder; import be.comp.permanenties.domain.DayOfWeek; import be.comp.permanentie

[rules-users] Declared Types and Globals in different files with incremental KnowledgeAgent

2013-09-20 Thread De Rooms Brecht
Dear Drools Users, I am building a network server for drools since the existing drools-server did not meet my requirements. Since I recently found a bug and find the people here very helpful I'll try to explain another issue I encountered in the hope that it improves drools 5.6 and 6.0. I no