Re: [rules-users] Distributed Drools

2014-04-24 Thread Esteban Aliverti
-mas used drools-grid to try to do something like this (distributed working memories), but this implementation was discarded after drools-grid was discontinued (it actually never passed the incubation period). Regards, Esteban Aliverti - Blog @ http

Re: [rules-users] Identical Facts over rules, results being cached?

2014-04-09 Thread Esteban Aliverti
be that hard (at least for simple - no nested- Facts) and once you have it you can validate the benefits. Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Wed, Apr 9, 2014 at 11:02 AM, Leonard93 leonardlinde...@hotmail.comwrote

Re: [rules-users] Buggy query behavior in drools 5.6 and 6.1-SNAPSHOT ??

2014-01-23 Thread Esteban Aliverti
Let me see what I can do. Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Jan 23, 2014 at 12:18 AM, Davide Sottara dso...@gmail.com wrote: Esteban, I have created a ticket for this with an explanation of the weird behavior. https

Re: [rules-users] Buggy query behavior in drools 5.6 and 6.1-SNAPSHOT ??

2014-01-22 Thread Esteban Aliverti
Good catch Davide. I can confirm that not using nested accessors the query works as expected. Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Wed, Jan 22, 2014 at 6:57 PM, Davide Sottara dso...@gmail.com wrote: Indeed, the use

Re: [rules-users] bound variable scope

2013-11-06 Thread Esteban Aliverti
objects matching the LHS are going to be in the set. channels[reset].send(Alarm resolved.); end Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Tue, Nov 5, 2013 at 11:38 PM, webfrank webfr...@tiscali.it wrote: Hi, I have

Re: [rules-users] why define the returnedProcessor twice

2013-10-17 Thread Esteban Aliverti
://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-camel-legacy5/src/main/java/org/drools/camel/component/DroolsPolicy.java#L67 Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Oct 17, 2013 at 11:37 AM

Re: [rules-users] How does drools provides an explanation of how the solution was arrived?

2013-10-04 Thread Esteban Aliverti
Let me add that you can also use a custom AgendaEventListener to keep track of all the rules that were executed. Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Oct 4, 2013 at 10:20 AM, rjr201 rich.j.ri...@gmail.com wrote

Re: [rules-users] how to check difference between two .pkg files

2013-09-10 Thread Esteban Aliverti
as a starting point ( https://github.com/droolsjbpm/drools/blob/5.6.x/drools-core/src/main/java/org/drools/agent/impl/BinaryResourceDiffProducerImpl.java), but be sure that it doesn't implement all possible cases. Regards, Esteban Aliverti - Blog @ http

Re: [rules-users] Question on From Collect

2013-07-30 Thread Esteban Aliverti
want to have the 'missing' methods for Lists and Sets, you just need to import those classes in the package you are working on. Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Mon, Jul 29, 2013 at 5:33 PM, Wolfgang Laun wolfgang.l

Re: [rules-users] Iterating string objects inside Arraylist

2013-07-17 Thread Esteban Aliverti
Hi, Drools supports 'contains' and 'member of' operators. You can find more information about them in the documentation. Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Wed, Jul 17, 2013 at 7:49 AM, Ganesh R. ganesh_

Re: [rules-users] Unexpected, Unclear, Unperiodic error

2013-05-15 Thread Esteban Aliverti
, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Wed, May 15, 2013 at 7:10 AM, abhinay_agarwal abhinay_agar...@infosys.com wrote: I have a piece of code which builds the kbase, when i run it from my local system as a java application with guvnor deployed, the code works fine

Re: [rules-users] Use of the binding variable

2013-05-09 Thread Esteban Aliverti
: Person($name2: name, *this != $p1*) then System.out.println(Found +$p1+ with name '+$name1+' and +$p2+ with name '+$name2+'); end Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, May 9, 2013 at 3:08 PM, IPatel ishita.pa

Re: [rules-users] Comparing KnowledgePackages for Equality

2013-03-21 Thread Esteban Aliverti
Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Mar 21, 2013 at 2:27 PM, gqmulligan gqmulli...@gmail.com wrote: Thanks for the suggestion Wolfgang. The problem is that hibernate does serialize the packages to compare the bytes

Re: [rules-users] Custom UI to create rules and inserting them via REST API

2013-01-29 Thread Esteban Aliverti
As far as I know, there is no API for DRL creation. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Mon, Jan 28, 2013 at 2:32 PM, benq2188 bengisag...@gmail.com wrote: Esteban thanks for the quick reply, so in this case my

Re: [rules-users] form of accumulate in examples is depricated?

2013-01-22 Thread Esteban Aliverti
of accumulate functions is not enough you can create your accumulate function in a Java class and then register it in drools and use it in your DRL. Please refer to the documentation for further information. Best Regards, Esteban Aliverti - Blog @ http

Re: [rules-users] Guvnor 5.5 being WIERD

2013-01-17 Thread Esteban Aliverti
Maybe a screenshot of Guvnor's editor might help. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Jan 17, 2013 at 12:01 PM, starfish15 pooja.gh...@accenture.comwrote: Manstis, If you notice the code written

Re: [rules-users] How are rules imported into the knowledgebuilder?

2013-01-16 Thread Esteban Aliverti
, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Wed, Jan 16, 2013 at 11:33 AM, Bojan Janisch bojan.jani...@scai.fraunhofer.de wrote: Hello everybody, the problem that I'm facing right know is, that I want to create rules from a program

Re: [rules-users] Hello and my first question

2013-01-14 Thread Esteban Aliverti
You can take a look at 'Conditional named consequences' to see if that is what you need: http://docs.jboss.org/drools/release/5.5.0.Final/droolsjbpm-introduction-docs/html_single/#releaseNotes_5.5.0_Expert Best Regards, Esteban Aliverti - Blog @ http

Re: [rules-users] Listen event in different package

2013-01-11 Thread Esteban Aliverti
According to the code you have shown, OtherItem is not defined as an @role(event) but you are using it to do time-related comparisons. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Jan 11, 2013 at 12:59 PM, Wolfgang

Re: [rules-users] Correlating 2 independent streams of events

2013-01-07 Thread Esteban Aliverti
on this, but it seems that the only solution will be to use explicit time stamps and then use them instead of the events in my marker fact. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Mon, Jan 7, 2013 at 12:17 PM, Wolfgang Laun wolfgang.l

Re: [rules-users] Guvnor rule validation using Java Code?

2013-01-02 Thread Esteban Aliverti
You can get the whole source code of the pkg (drl) an the model (jar) from Guvnor using rest and then you could try to compile the package in your app using Drools APIs. That is what Guvnor does. Best regards, On Jan 2, 2013 8:59 AM, arup arup4u2...@gmail.com wrote: Thanks for your replies.

Re: [rules-users] Writing a rule to find a fact that has a minimum value

2012-12-19 Thread Esteban Aliverti
rule 'Smallest city' when $smallCity: City() not City(population $smallCity.population) then System.out.println(This is the smallest city: +$smallCity); end Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Wed, Dec

Re: [rules-users] Executing more than one rules having no infinite execution

2012-12-07 Thread Esteban Aliverti
Using drools.halt() is not considered a good practice at all. I would recommend you to read this post: http://ilesteban.wordpress.com/2012/11/16/about-drools-and-infinite-execution-loops/ Best Regards, Esteban Aliverti - Blog @ http

Re: [rules-users] A basic doubt about Drools Fusion

2012-12-07 Thread Esteban Aliverti
of fireAllRules() should fire the activation of the first object (and you will miss the activation of the second). Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Dec 7, 2012 at 1:55 PM, Adrián Paredes adri

Re: [rules-users] A basic doubt about Drools Fusion

2012-12-07 Thread Esteban Aliverti
I think you have 2 main options here: - Invoke fireUnitlHalt() in an independent thread. - Invoke fireAllRules() after each insert() you have. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Dec 7, 2012 at 3:57

Re: [rules-users] Value is not reflected in Fact Object at Drool Client Side

2012-12-05 Thread Esteban Aliverti
understood, by drools. In order to tell the agent which resources should it use, you must provide a change-set pointing to those resources. You can find more information about change-sets in Drools documentation. Best Regards, Esteban Aliverti - Blog @ http

Re: [rules-users] keep only one, retract all other

2012-11-30 Thread Esteban Aliverti
, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Nov 30, 2012 at 10:06 AM, Wolfgang Laun wolfgang.l...@gmail.comwrote: It seems you are using dialect mvel? This doesn't work in 5.2.0, 5.3.0 and 5.4.0. (I haven't tried 5.5) Use dialect java. -W On 30

Re: [rules-users] lock-on-active clarification needed

2012-11-16 Thread Esteban Aliverti
I've put together my ideas and findings in this topic in my blog: http://ilesteban.wordpress.com/2012/11/16/about-drools-and-infinite-execution-loops/ Feel free to read it and provide feedback if desired. Best Regards, Esteban Aliverti - Blog @ http

Re: [rules-users] Is Flow / jBPM dying on the vine?

2012-11-09 Thread Esteban Aliverti
Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Nov 9, 2012 at 3:18 PM, dunnlow dunn...@yahoo.com wrote: Salaboy, the issue I have is that I want users to be able to see the process graphically, so I think that means I need

Re: [rules-users] Error in adding BRL in Guvnor

2012-10-30 Thread Esteban Aliverti
If you are using the binary version of your package you should use ResourceType.PKG. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Tue, Oct 30, 2012 at 7:15 AM, vargheseps varghesep...@gmail.com wrote: I have created

Re: [rules-users] Local Variable

2012-10-05 Thread Esteban Aliverti
Did you read the documentation about 'globals'? Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Oct 5, 2012 at 1:46 PM, joy kripa_...@infosys.com wrote: Hi i need local variables in drl file. it should hold integer

Re: [rules-users] Drools 5.4 final and jbpm: problem in acces process variable

2012-09-27 Thread Esteban Aliverti
is 'DroolsAuthorizationService.populateResultFields(decisionList);' doing? Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Sep 27, 2012 at 1:10 PM, Manasi manasi.a.da...@capgemini.comwrote: hi, heres is the handler code in service task : I have added

[rules-users] How does 'from' cache works?

2012-09-12 Thread Esteban Aliverti
I'm experiencing the described behavior. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo

Re: [rules-users] fireUntilHalt() is halt forever

2012-08-21 Thread Esteban Aliverti
Instead of grouping your rules using agenda-group maybe you could partition your kbase to only have the rules for a particular Product (?) Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Tue, Aug 21, 2012 at 5:00 PM, Rana

Re: [rules-users] fireUntilHalt() is halt forever

2012-08-21 Thread Esteban Aliverti
You can still have different change-sets pointing to different resources (you can share these resources too) for different kbases. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Tue, Aug 21, 2012 at 5:21 PM, Rana ven12

Re: [rules-users] Question about the Nature of Ruleflows

2012-08-21 Thread Esteban Aliverti
going to pick the first one. I would suggest to use different process instances for different scenarios. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Tue, Aug 21, 2012 at 11:14 PM, BenjaminWolfe benjamin.e.wo

Re: [rules-users] How to execute knowledeg base remotely?

2012-08-19 Thread Esteban Aliverti
AFAIK, after you deploy the generated .war you will have a running instance of Drools Camel Server: http://docs.jboss.org/drools/release/5.4.0.Final/droolsjbpm-integration-docs/html_single/index.html#ch.server Best Regards, Esteban Aliverti - Blog @ http

Re: [rules-users] Specify enumeration for DSL variables?

2012-08-17 Thread Esteban Aliverti
http://docs.jboss.org/drools/release/5.4.0.Final/drools-guvnor-docs/html_single/index.html#d0e1802 Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Aug 17, 2012 at 4:06 PM, jasonxzhong jason.zh...@ellucian.comwrote: Sure

Re: [rules-users] modify and update is not working in the rule file

2012-08-16 Thread Esteban Aliverti
) { FactHandle fact = workingMemory.getFactHandle(obj); workingMemory.update(fact, obj); } } Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Aug 16, 2012 at 4:25 PM

Re: [rules-users] modify and update is not working in the rule file

2012-08-16 Thread Esteban Aliverti
One last thing. Just like Wolfgang said: if you don't activate the agenda-group where the rule is defined its activations are never going to be executed. Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Thu, Aug 16, 2012 at 4

Re: [rules-users] Slow compilation (4h) for a single rule

2012-07-24 Thread Esteban Aliverti
As far as I remember, there were some fixes around compilation time for edge cases in 5.4. Could you please give a try to 5.4 or even 5.5-SNAPSHOT? Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Tue, Jul 24, 2012 at 1:11 PM

Re: [rules-users] Gwt Error while integrating guvnor with custom application.

2012-07-18 Thread Esteban Aliverti
Try removing the 'gwt.codesvr=localhost:8080http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/standaloneEditorServlet?gwt.codesvr=localhost:8080' from the url. That parameter is only valid when GWT is running in dev mode. Best Regards, Esteban

Re: [rules-users] Drools Guvnor-Decison Tables - Rule is not being fired!!! Please help

2012-07-16 Thread Esteban Aliverti
The problem is that you are inserting the fact type definition instead of the facts themselves. instead of insert *appType* and *incomeType* you should insert *application*and *income*. Best Regards, Esteban Aliverti - Blog @ http

Re: [rules-users] Error on Build Package Click

2012-07-16 Thread Esteban Aliverti
Could you paste the source code (DRL) of the package? Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Mon, Jul 16, 2012 at 6:30 PM, paco fifi_nji...@yahoo.fr wrote: I got the following error when I tryed to build the default

Re: [rules-users] convert drl file to rf?

2012-07-04 Thread Esteban Aliverti
rule language). So, using BPMN2.0 you can orchestrate the rules present in one or more DRL file. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Tue, Jul 3, 2012 at 10:28 PM, al so volks

Re: [rules-users] ruleflow-group

2012-07-04 Thread Esteban Aliverti
#d0e1862 Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Tue, Jul 3, 2012 at 10:02 PM, al so volks...@gmail.com wrote: I already have tons of rules today in drl file. I've both jBPM5 and drools

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-07-03 Thread Esteban Aliverti
Hi Hrumph, The pull request is still open and waiting to be merged (even if now it can't be automatically merged): https://github.com/droolsjbpm/drools/pull/100 Could someone of the dev team please take a look at it? Best Regards, Esteban Aliverti

Re: [rules-users] ruleflow-group

2012-07-03 Thread Esteban Aliverti
, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, Jul 2, 2012 at 10:08 PM, al so volks...@gmail.com wrote: One could control the rule execution order using various different constructs (like salience, etc

Re: [rules-users] Cannot get Custom Forms to work in Guvnor

2012-06-18 Thread Esteban Aliverti
What is the url you are using for the custom form? Did you try to see what is going on using something like firebug of chrome developer tools? Is the URL even invoked? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http

Re: [rules-users] guvnor-distribution-5.4.0.Final problem

2012-06-16 Thread Esteban Aliverti
All versions from 1 to 7? Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Sun, Jun 17, 2012 at 12:45 AM, Michael Anstis michael.ans...@gmail.comwrote: If you receive Guvnor from the Drools download

Re: [rules-users] Performance issue

2012-05-31 Thread Esteban Aliverti
from the already existing kbase and use it. The compilation of the rules is (usually) one of the most time-consuming tasks you have in drools. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com

Re: [rules-users] Prevent saving the resource when using guvnorEditorObjRef, in case if validation fails.

2012-05-28 Thread Esteban Aliverti
AFAIK, there is no way to do what you have described. Feel free to file a new feature request in jira about this. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, May 28, 2012 at 8:44

Re: [rules-users] Guvnor 5.3 to 5.4.0.CR1 DSLVariableValue ClassCastException

2012-04-23 Thread Esteban Aliverti
Thanks a lot Mike, I have a really busy week. I really appreciate your help! Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, Apr 23, 2012 at 5:06 PM, jemka je...@tullahoma.de wrote

Re: [rules-users] Guvnor 5.3 to 5.4.0.CR1 DSLVariableValue ClassCastException

2012-04-22 Thread Esteban Aliverti
I tried with a legacy repo when I introduced this feature. It seems that I missed something. A failing repository export would be great in order to start working on this problem. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com

Re: [rules-users] please provide a rule for events timeout cases

2012-04-13 Thread Esteban Aliverti
First question: are you using Drools Fusion? If yes, did you try with something like this?: EventRecord(type=EventRequest, id=1) not EventRecord(type=EventResponse, id=1, this after [1s,10s]). I'm using a 10s timeout here. Best Regards, Esteban

Re: [rules-users] KnowledgeAgent Changeset problems

2012-04-05 Thread Esteban Aliverti
Could you append the log output of the Knowledge Agent? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Wed, Apr 4, 2012 at 4:12 PM, albertorugnone arugnonechemi...@gmail.comwrote: Thank

Re: [rules-users] Drools performance

2012-03-30 Thread Esteban Aliverti
Model Definition? Rules Definition? How much memory your 100 objects are consuming? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Mar 30, 2012 at 1:30 PM, Hassan azbak

Re: [rules-users] [drools-spring]Incompatibility with jdk 5

2012-03-29 Thread Esteban Aliverti
That bug that is now fixed in 5.4. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Thu, Mar 29, 2012 at 6:35 PM, jsoula jsoula.li...@gmail.com wrote: Hello, I'm using drools-spring

Re: [rules-users] Exception in thread main java.lang.ClassCastException:

2012-03-19 Thread Esteban Aliverti
This is a known bug. We are trying to solve it: https://issues.jboss.org/browse/JBRULES-2962 Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, Mar 19, 2012 at 9:52 AM, srinivasasanda

Re: [rules-users] uploading bpmn file from file system in guvnor

2012-02-24 Thread Esteban Aliverti
Continuing with Michaels' explanation: once the process editor is open you have to search for a button in the toolbar of the editor that will allow you to import a process providing a a file or simply the content. Best Regards, Esteban Aliverti

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-22 Thread Esteban Aliverti
/drools.git drools (It will download all the sources and place them in drools directory) 2.- Get the fix from my repo. Fortunately, the fix is just one file: https://raw.github.com/esteban-aliverti/drools/61c2110df8c55c67ff532491865b3f28f368e8db/drools-core/src/main/java/org/drools/agent/impl

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-22 Thread Esteban Aliverti
Are you sure that the binary package was also created with the same drools version you are using in your tests? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Wed, Feb 22, 2012 at 7:39 PM

Re: [rules-users] Declared model and drools.agent.newInstance

2012-02-21 Thread Esteban Aliverti
There is a known bug with incremental kbase changes (what happens when drools.agent.newInstance=false) and declared types. Sometime ago someone mentioned a possible workaround. Try to search in the mailing list. Best Regards, Esteban Aliverti - Developer

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-21 Thread Esteban Aliverti
to see if everything is ok. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Tue, Feb 21, 2012 at 4:56 PM, Hrumph herman.p...@imail.org wrote: Great! ** ** https://issues.jboss.org

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-20 Thread Esteban Aliverti
Hi Herman, I'm working on this issue right now. Did you create the jira issue? Could you please send me the link? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Sat, Feb 18, 2012 at 1:46

Re: [rules-users] Adding a List(CollectionFramework) datatype in DeclarativeModel

2012-02-20 Thread Esteban Aliverti
Just do not select anything in the combo-box and write the fqn of the type you want to use: i.e. java.util.List Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, Feb 20, 2012 at 9:51 AM

Re: [rules-users] Guvnor 5.4.0.Beta2 launch Error.

2012-02-20 Thread Esteban Aliverti
Do you see any suspicious log in Tomcat's logs? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Tue, Feb 21, 2012 at 1:42 AM, Monline online.re...@gmail.com wrote: Hi, Just wondering

Re: [rules-users] ConsequenceException when using modify

2012-02-16 Thread Esteban Aliverti
Just out of curiosity, if you change your modify block and use an updeat instead, does it work? Something like: $myObject.setVariable1(defaultValue); update($myObject); Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-16 Thread Esteban Aliverti
Seems like a bug to me. The best you can do is to rise a Jira issue. Actually, the best you can do is to provide a patch also ;) Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Thu, Feb 16

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-16 Thread Esteban Aliverti
By the way, in the stacktrace you pasted I only see a NullPointerException, but no ClassNotFoundException. Where are you seeing the ClassNotFoundException? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-16 Thread Esteban Aliverti
, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/16 Herman Post herman.p...@imail.org In debug, KnowledgeAgentImpl.createPackageFromResource(), the last line to run is DroolsStreamUtils.streamIn

Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-16 Thread Esteban Aliverti
Could you please upload you failing test project using 5.4 so I can test it? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/16 Hrumph herman.p...@imail.org Regretably, I’m still

Re: [rules-users] Failed to get rules from Guvor after apply Security using Tomcat and JAAS

2012-02-15 Thread Esteban Aliverti
Please search in this list about this problem. Your question has been answered before. I think the documentation also has a section about how to add security elements to the change-set. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com

Re: [rules-users] make the Guvnor interface into French

2012-02-13 Thread Esteban Aliverti
Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/13 freelance developpement developpement.freela...@gmail.com hi Michael Anstis, Can you tell me in detail how to make the interface

Re: [rules-users] Call of a function in the definition of a rule template

2012-02-13 Thread Esteban Aliverti
If you are dealing with non-technical people, maybe you could also use a DSL sentence to hide the function call. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/13 Michael Anstis

Re: [rules-users] (no subject)

2012-02-13 Thread Esteban Aliverti
, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/13 Alberto R. Galdo arga...@gmail.com According to the documentation: Rule constraints do not have direct access to variables defined inside the process. It is however possible

Re: [rules-users] (no subject)

2012-02-13 Thread Esteban Aliverti
Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/13 Alberto R. Galdo arga...@gmail.com We're using 5.2.0 final here. What we are also observing is that whenever a process instance

Re: [rules-users] GUVNOR

2012-02-09 Thread Esteban Aliverti
Deploy the war Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/9 Olfa h h.olf...@gmail.com HI , how to install DROOLS Guvnor ? ___ rules-users

Re: [rules-users] 5.3 ruleflow question

2012-02-08 Thread Esteban Aliverti
version5.3.0-SNAPSHOT/version /dependency Please note that org.jbpm artifact's versions (5.3.0-SNAPSHOT) are different from org.drools (5.4.0-SNAPSHOT) Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http

Re: [rules-users] Rule does not fire when JBPM asks to do so in BPMN 2.0 process

2012-02-08 Thread Esteban Aliverti
rule insert(processInstance); //now, start the process kcontext.getKnowledgeRuntime().startProcessInstance(processInstance.getProcessInstance()); end Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http

Re: [rules-users] [rules-dev] http://blog.athico.com/2012/02/welcome-alexandre-porcelli.html

2012-02-07 Thread Esteban Aliverti
Congratulation Alexandre! Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Tue, Feb 7, 2012 at 3:44 PM, Mark Proctor mproc...@codehaus.org wrote: http://blog.athico.com/2012/02/welcome-alexandre

Re: [rules-users] how to retract all documents created in the following scenario

2012-02-03 Thread Esteban Aliverti
Did you try using Java dialect instead of MVEL? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Thu, Feb 2, 2012 at 11:47 PM, vadlam sreeram.vadlam...@wellsfargo.comwrote: when

Re: [rules-users] Ruleflow: two flow exits (or equivalent?) from reusable sub-process?

2012-02-03 Thread Esteban Aliverti
events as well. Define a throw event node in your sub-process and attach a boundary event to it in the parent process. Best Regards. Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/2 George Georgovassilis

Re: [rules-users] ChangeSet not working for Package Type

2012-02-03 Thread Esteban Aliverti
Could you please post the change-set you are using along with the error you are getting? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Feb 3, 2012 at 12:47 PM, Mark Proctor mproc

Re: [rules-users] [rules-dev] Contributing to Drools?

2012-02-03 Thread Esteban Aliverti
Same thing here. Count on me for that! It is a good excuse to visit London :) Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Feb 3, 2012 at 12:57 PM, Mario Fusco mario.fu

Re: [rules-users] how to retract all documents created in the following scenario

2012-02-02 Thread Esteban Aliverti
); //retract empty documents for (int i=0; i $emptyDocs.size(); i++){ retract( $emptyDocs.get(i)); } end Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Thu, Feb 2, 2012 at 9:59 PM

Re: [rules-users] setting different value in consequence ( RHS part) based on a conditional check

2012-01-27 Thread Esteban Aliverti
Did I just heard Wolfgang complaining about being too dogmatic??? After all maybe the Mayans were right :) By the way, Vadlam, did you try using a template rule in Guvnor? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog

Re: [rules-users] Infinit loop in simple example

2012-01-20 Thread Esteban Aliverti
is activated and fired infinite times. Read the documentation manual about some attributes you can use in your rules to avoid this behavior: no-loop, lock-on-active. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http

Re: [rules-users] Guvnor export options.

2012-01-18 Thread Esteban Aliverti
Take a look at the documentation: REST-API and webdav sections. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Wed, Jan 18, 2012 at 5:03 AM, pm-lemos pedrolemos...@gmail.com wrote: Hi

Re: [rules-users] unable to load jar file

2012-01-18 Thread Esteban Aliverti
As far as I know, what you are asking is not possible. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/1/18 kavitha sethu kavithase...@gmail.com Hi, Can anybody tell me how to use

Re: [rules-users] Resource Change Scanner Service modified date error

2012-01-17 Thread Esteban Aliverti
Dean, did you figure out why your code is using a ReaderResource? There are other threads reporting this same problem. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Jan 6, 2012 at 2

Re: [rules-users] Application Guvnor integration

2012-01-17 Thread Esteban Aliverti
, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/1/17 Michael Anstis michael.ans...@gmail.com Yay, at long last a Java Stack Trace :) This is a known problem, but one I believe has been fixed for 5.4.0.beta1 - correct me

Re: [rules-users] Resource Change Scanner Service modified date error

2012-01-17 Thread Esteban Aliverti
Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/1/17 Dean Eastwood d...@qualica.com Hi Esteban Unfortunately I haven't had time to work further on this issue, so I don't have an answer yet. All I can say for now is it seems

Re: [rules-users] ClassCastException when KnowledgeAgent loads declared type

2012-01-17 Thread Esteban Aliverti
This is a known bug: https://issues.jboss.org/browse/JBRULES-2962 Some improvements were made in 5.3 and 5.4 but AFAIK, the issue still remains. Could you please try using 5.4.SNAPSHOT ot beta1 to see if the error persists? Best Regards, Esteban Aliverti

Re: [rules-users] Application Guvnor integration

2012-01-16 Thread Esteban Aliverti
them? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, Jan 16, 2012 at 6:14 AM, Senthil K kris.senthilku...@gmail.comwrote: Hi Esteban, Any update on this please? Anything wrong in what

Re: [rules-users] unable to update the changes (guvnor rules) to application using changeset

2012-01-16 Thread Esteban Aliverti
Each package in Guvnor has its own REST URL (I think it is the same URL used in the changeset :P). You can try to manually add each package to your kbuilder using a URLResource pointing to each package's URL. Best Regards, Esteban Aliverti - Developer

Re: [rules-users] Calling POJO class get Method in BRL

2012-01-16 Thread Esteban Aliverti
, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, Jan 16, 2012 at 1:34 PM, srinivasasanda srinivasasa...@gmail.comwrote: Hi Manstis, Where do you insert a PersonDetails fact? Why do you set

Re: [rules-users] unable to update the changes (guvnor rules) to application using changeset

2012-01-16 Thread Esteban Aliverti
only happen if you are using PKG in your changesets. According to your code, you are using DRL, right? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, Jan 16, 2012 at 1:42 PM

Re: [rules-users] unable to update the changes (guvnor rules) to application using changeset

2012-01-16 Thread Esteban Aliverti
the compiled packages of the kbuilder. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Mon, Jan 16, 2012 at 3:11 PM, srinivasasanda srinivasasa...@gmail.comwrote: efore rule engine start after

Re: [rules-users] Application Guvnor integration

2012-01-16 Thread Esteban Aliverti
I think we have a duplication problem here :) Are you and srinivasasa...@gmail.com working together? If so, please let's continue this discussion in just one thread. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http

  1   2   3   4   5   >